Skip to content

chore: upgrade nodejs version to 18.x #8768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 27, 2023
Prev Previous commit
Next Next commit
Fix e2e tests
  • Loading branch information
BrunoQuaresma committed Jul 27, 2023
commit c1e5eee5e313ca6fbce1fdb56410e0d62a704203
5 changes: 4 additions & 1 deletion site/e2e/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,10 @@ const createTemplateVersionTar = async (
Provision_Response.encode(response as Provision_Response).finish(),
)
})
return Buffer.from((await tar.write()) as ArrayBuffer)
const tarFile = await tar.write()
return Buffer.from(
tarFile instanceof Blob ? await tarFile.arrayBuffer() : tarFile,
)
}

const randomName = () => {
Expand Down