feat: typescript plugin poc implementation #1916
Annotations
1 error and 1 warning
Code PushUp
Error: Vitest failed to access its internal state.
One of the following is possible:
- "vitest" is imported directly without running "vitest" command
- "vitest" is imported inside "globalSetup" (to fix this, use "setupFiles" instead, because "globalSetup" runs in a different context)
- Otherwise, it might be a Vitest bug. Please report it to https://github.com/vitest-dev/vitest/issues
at getWorkerState (file:///home/runner/work/cli/cli/node_modules/vitest/dist/vendor/global.CkGT_TMy.js:5:11)
at getCurrentEnvironment (file:///home/runner/work/cli/cli/node_modules/vitest/dist/vendor/global.CkGT_TMy.js:19:17)
at createExpect (file:///home/runner/work/cli/cli/node_modules/vitest/dist/vendor/vi.C5mroSoP.js:373:18)
at file:///home/runner/work/cli/cli/node_modules/vitest/dist/vendor/vi.C5mroSoP.js:411:22
at ModuleJob.run (node:internal/modules/esm/module_job:268:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
at async extractResult (/home/runner/work/cli/cli/node_modules/bundle-require/dist/index.js:166:15)
at async run (/home/runner/work/cli/cli/node_modules/bundle-require/dist/index.js:208:17)
Error: Vitest failed to access its internal state.
One of the following is possible:
- "vitest" is imported directly without running "vitest" command
- "vitest" is imported inside "globalSetup" (to fix this, use "setupFiles" instead, because "globalSetup" runs in a different context)
- Otherwise, it might be a Vitest bug. Please report it to https://github.com/vitest-dev/vitest/issues
at getWorkerState (file:///home/runner/work/cli/cli/node_modules/vitest/dist/vendor/global.CkGT_TMy.js:5:11)
at getCurrentEnvironment (file:///home/runner/work/cli/cli/node_modules/vitest/dist/vendor/global.CkGT_TMy.js:19:17)
at createExpect (file:///home/runner/work/cli/cli/node_modules/vitest/dist/vendor/vi.C5mroSoP.js:373:18)
at file:///home/runner/work/cli/cli/node_modules/vitest/dist/vendor/vi.C5mroSoP.js:411:22
at ModuleJob.run (node:internal/modules/esm/module_job:268:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
at async extractResult (/home/runner/work/cli/cli/node_modules/bundle-require/dist/index.js:166:15)
at async run (/home/runner/work/cli/cli/node_modules/bundle-require/dist/index.js:208:17)
Warning: command "node packages/cli/src/index.ts print-config" exited with non-zero status code
|
Code PushUp
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|