Skip to content

Friday pm playwright #129

Friday pm playwright

Friday pm playwright #129

Triggered via pull request August 6, 2024 10:24
Status Failure
Total duration 1m 4s
Artifacts

unit-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Unhandled error: node_modules/@nuxt/kit/dist/index.mjs#L2649
Error: Invariant violation: "new TextEncoder().encode("") instanceof Uint8Array" is incorrectly false This indicates that your JavaScript environment is broken. You cannot use esbuild in this environment because esbuild relies on this invariant. This is not a problem with esbuild. You need to fix your environment instead. ❯ Object.<anonymous> node_modules/nuxt/node_modules/esbuild/lib/main.js:201:9 ❯ Module._compile node:internal/modules/cjs/loader:1358:14 ❯ Object.Module._extensions..js node:internal/modules/cjs/loader:1416:10 ❯ Module.load node:internal/modules/cjs/loader:1208:32 ❯ Function.Module._load node:internal/modules/cjs/loader:1024:12 ❯ cjsLoader node:internal/modules/esm/translators:348:17 ❯ ModuleWrap.<anonymous> node:internal/modules/esm/translators:297:7 ❯ ModuleJob.run node:internal/modules/esm/module_job:222:25 ❯ ModuleLoader.import node:internal/modules/esm/loader:316:24 ❯ Module.loadNuxt node_modules/@nuxt/kit/dist/index.mjs:2649:37 This error originated in "tests/unit/server/api/versions.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/unit/server/api/versions.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/unit/server/api/versions.spec.ts > api/versions: node_modules/@nuxt/kit/dist/index.mjs#L2649
Error: Invariant violation: "new TextEncoder().encode("") instanceof Uint8Array" is incorrectly false This indicates that your JavaScript environment is broken. You cannot use esbuild in this environment because esbuild relies on this invariant. This is not a problem with esbuild. You need to fix your environment instead. ❯ Object.<anonymous> node_modules/nuxt/node_modules/esbuild/lib/main.js:201:9 ❯ Module.loadNuxt node_modules/@nuxt/kit/dist/index.mjs:2649:37
test
Process completed with exit code 1.