I have switched recently from Jest to Vitest. My test suite is running fine both locally and on CI/CD. I tested with npx vitest which succeeds perfectly fine.
But when I try Wallaby it fails on a specific Node CLI command we are testing due to the shebang on top:
Note: when I remove the shebang in those CLI command scripts, then Wallaby works as expected. I have tried to remove the shebang for wallaby with a preprocessors config but no luck yet
Wallaby diagnostics report
```
{
editorVersion: 'WebStorm 2024.3',
pluginVersion: '1.0.311',
editorType: 'IntelliJ',
osVersion: 'darwin 24.1.0',
nodeVersion: 'v21.7.1',
coreVersion: '1.0.1653',
pnp: '',
pnpEsm: '',
checksum: 'ZGZjYTYyMGU2YjllYjFhMGI0NmMwYWFmNjg1NjdkMzcsMTc2MjkwNTYwMDAwMCww',
config: {
diagnostics: {
vitest: {
config: {
config: {
allowOnly: true,
isolate: true,
watch: true,
globals: true,
environment: 'node',
pool: 'forks',
clearMocks: false,
restoreMocks: false,
mockReset: false,
unstubGlobals: false,
unstubEnvs: false,
include: [ '**/*.{test,spec}.?(c|m)[jt]s?(x)' ],
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/cypress/**',
'**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'
],
teardownTimeout: 10000,
forceRerunTriggers: [ '**/package.json/**', '**/{vitest,vite}.config.*/**', '/XXX/local-development/XXX/__tests__/vitest.setup.ts' ],
update: false,
reporters: [ [ 'default', {} ] ],
silent: false,
hideSkippedTests: false,
api: { middlewareMode: true },
ui: false,
uiBase: '/__vitest__/',
open: true,
css: { include: [], modules: { classNameStrategy: 'stable' } },
coverage: {
provider: 'v8',
enabled: false,
all: true,
clean: true,
cleanOnRerun: true,
reportsDirectory: './coverage',
exclude: [
'coverage/**',
'dist/**',
'**/node_modules/**',
'**/[.]**',
'packages/*/test?(s)/**',
'**/*.d.ts',
'**/virtual:*',
'**/__x00__*',
'**/\x00*',
'cypress/**',
'test?(s)/**',
'test?(-*).?(c|m)[jt]s?(x)',
'**/*{.,-}{test,spec,bench,benchmark}?(-d).?(c|m)[jt]s?(x)',
'**/__tests__/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*',
'**/vitest.{workspace,projects}.[jt]s?(on)',
'**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}',
'__tests__/vitest.setup.ts'
],
reportOnFailure: true,
reporter: [ [ 'text', {} ], [ 'json', {} ], [ 'html', {} ], [ 'cobertura', {} ] ],
extension: [
'.js', '.cjs',
'.mjs', '.ts',
'.mts', '.tsx',
'.jsx', '.vue',
'.svelte', '.marko',
'.astro'
],
allowExternal: false,
excludeAfterRemap: false,
ignoreEmptyLines: true,
processingConcurrency: 10
},
fakeTimers: { loopLimit: 10000, shouldClearNativeTimers: true, toFake: [ 'setTimeout', 'clearTimeout', 'setInterval', 'clearInterval', 'setImmediate', 'clearImmediate', 'Date' ] },
maxConcurrency: 5,
dangerouslyIgnoreUnhandledErrors: false,
typecheck: {
checker: 'tsc',
include: [ '**/*.{test,spec}-d.?(c|m)[jt]s?(x)' ],
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/cypress/**',
'**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'
],
enabled: false
},
slowTestThreshold: 300,
disableConsoleIntercept: false,
setupFiles: [ '/XXX/local-development/XXX/__tests__/vitest.setup.ts' ],
env: { TZ: 'UTC', NODE_ENV: 'test' },
poolOptions: { threads: {}, forks: {} },
config: '/XXX/local-development/XXX/vitest.config.mts',
defines: {},
root: '/XXX/local-development/XXX',
mode: 'test',
provide: {},
inspector: { enabled: false, waitForDebugger: false },
clearScreen: true,
browser: {
enabled: false,
headless: false,
isolate: true,
fileParallelism: true,
ui: true,
screenshotFailures: false,
viewport: { width: 414, height: 896 },
locators: { testIdAttribute: 'data-testid' },
api: { port: 63315 }
},
fileParallelism: true,
expect: {},
deps: {
moduleDirectories: [ '/node_modules/' ],
optimizer: { ssr: { enabled: true }, web: { enabled: true } },
web: { transformAssets: true, transformCss: true, transformGlobPattern: [] }
},
globalSetup: [],
server: {
deps: {
inline: [ {}, {}, {} ],
inlineFiles: [
'/XXX/local-development/XXX/__tests__/vitest.setup.ts',
'file:///XXX/local-development/XXX/__tests__/vitest.setup.ts'
],
moduleDirectories: [ '/node_modules/' ],
cacheDir: 'node_modules/.vite'
}
},
snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
snapshotSerializers: [],
poolMatchGlobs: [],
cache: { dir: '/XXX/local-development/XXX/node_modules/.vite/vitest' },
sequence: { hooks: 'stack' },
environmentMatchGlobs: [],
testTransformMode: {},
testTimeout: 5000,
hookTimeout: 10000
},
projects: [
{
path: '/XXX/local-development/XXX',
config: {
allowOnly: true,
isolate: true,
watch: true,
globals: true,
environment: 'node',
pool: 'forks',
clearMocks: false,
restoreMocks: false,
mockReset: false,
unstubGlobals: false,
unstubEnvs: false,
include: [ '**/*.{test,spec}.?(c|m)[jt]s?(x)' ],
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/cypress/**',
'**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'
],
teardownTimeout: 10000,
forceRerunTriggers: [ '**/package.json/**', '**/{vitest,vite}.config.*/**', '/XXX/local-development/XXX/__tests__/vitest.setup.ts' ],
update: false,
reporters: [ [ 'default', {} ] ],
silent: false,
hideSkippedTests: false,
api: { middlewareMode: true },
ui: false,
uiBase: '/__vitest__/',
open: true,
css: { include: [], modules: { classNameStrategy: 'stable' } },
coverage: {
provider: 'v8',
enabled: false,
all: true,
clean: true,
cleanOnRerun: true,
reportsDirectory: './coverage',
exclude: [
'coverage/**',
'dist/**',
'**/node_modules/**',
'**/[.]**',
'packages/*/test?(s)/**',
'**/*.d.ts',
'**/virtual:*',
'**/__x00__*',
'**/\x00*',
'cypress/**',
'test?(s)/**',
'test?(-*).?(c|m)[jt]s?(x)',
'**/*{.,-}{test,spec,bench,benchmark}?(-d).?(c|m)[jt]s?(x)',
'**/__tests__/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*',
'**/vitest.{workspace,projects}.[jt]s?(on)',
'**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}',
'__tests__/vitest.setup.ts'
],
reportOnFailure: true,
reporter: [ [ 'text', {} ], [ 'json', {} ], [ 'html', {} ], [ 'cobertura', {} ] ],
extension: [
'.js', '.cjs',
'.mjs', '.ts',
'.mts', '.tsx',
'.jsx', '.vue',
'.svelte', '.marko',
'.astro'
],
allowExternal: false,
excludeAfterRemap: false,
ignoreEmptyLines: true,
processingConcurrency: 10
},
fakeTimers: { loopLimit: 10000, shouldClearNativeTimers: true, toFake: [ 'setTimeout', 'clearTimeout', 'setInterval', 'clearInterval', 'setImmediate', 'clearImmediate', 'Date' ] },
maxConcurrency: 5,
dangerouslyIgnoreUnhandledErrors: false,
typecheck: {
checker: 'tsc',
include: [ '**/*.{test,spec}-d.?(c|m)[jt]s?(x)' ],
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/cypress/**',
'**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'
],
enabled: false
},
slowTestThreshold: 300,
disableConsoleIntercept: false,
setupFiles: [ '/XXX/local-development/XXX/__tests__/vitest.setup.ts' ],
env: { TZ: 'UTC', NODE_ENV: 'test' },
poolOptions: { threads: {}, forks: {} },
config: '/XXX/local-development/XXX/vitest.config.mts',
defines: {},
root: '/XXX/local-development/XXX',
mode: 'test',
provide: {},
inspector: { enabled: false, waitForDebugger: false },
clearScreen: true,
browser: {
enabled: false,
headless: false,
isolate: true,
fileParallelism: true,
ui: true,
screenshotFailures: false,
viewport: { width: 414, height: 896 },
locators: { testIdAttribute: 'data-testid' },
api: { port: 63315 }
},
fileParallelism: true,
expect: {},
deps: {
moduleDirectories: [ '/node_modules/' ],
optimizer: { ssr: { enabled: true }, web: { enabled: true } },
web: { transformAssets: true, transformCss: true, transformGlobPattern: [] }
},
globalSetup: [],
server: {
deps: {
inline: [ {}, {}, {} ],
inlineFiles: [
'/XXX/local-development/XXX/__tests__/vitest.setup.ts',
'file:///XXX/local-development/XXX/__tests__/vitest.setup.ts'
],
moduleDirectories: [ '/node_modules/' ],
cacheDir: 'node_modules/.vite'
}
},
snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
snapshotSerializers: [],
poolMatchGlobs: [],
cache: { dir: '/XXX/local-development/XXX/node_modules/.vite/vitest' },
sequence: { hooks: 'stack' },
environmentMatchGlobs: [],
testTransformMode: {},
testTimeout: 5000,
hookTimeout: 10000
}
}
],
package: {
version: '2.1.4',
urls: { hooks: 'file:///Library/Caches/JetBrains/WebStorm2024.3/wallaby/wallaby/runners/node/hooks.mjs' },
paths: {
root: '/XXX/local-development/XXX/node_modules/vitest',
dist: '/XXX/local-development/XXX/node_modules/vitest/dist'
}
}
}
}
},
testFramework: { version: 'vitest@0.14.0', configurator: 'vitest@0.14.0', reporter: 'vitest@0.14.0', starter: 'vitest@0.14.0', autoDetected: true },
preserveComments: false,
extractComments: true,
files: [
{ pattern: '**/*.{test,spec}.?(c|m)[jt]s?(x)', ignore: true, trigger: true, load: true, file: true },
{ pattern: '**/node_modules/**', ignore: true, trigger: true, load: true, file: true, test: true },
{ pattern: '**/dist/**', ignore: true, trigger: true, load: true, file: true, test: true },
{ pattern: '**/cypress/**', ignore: true, trigger: true, load: true, file: true, test: true },
{ pattern: '**/.{idea,git,cache,output,temp}/**', ignore: true, trigger: true, load: true, file: true, test: true },
{ pattern: '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*', ignore: true, trigger: true, load: true, file: true, test: true },
{ pattern: '**/*.timestamp-*', ignore: true, trigger: true, load: true, file: true },
{ pattern: '**/*.*', ignore: false, trigger: true, load: true, order: 1 }
],
tests: [
{ pattern: '**/node_modules/**', ignore: true, trigger: true, load: true, test: true, file: false },
{ pattern: '**/dist/**', ignore: true, trigger: true, load: true, test: true, file: false },
{ pattern: '**/cypress/**', ignore: true, trigger: true, load: true, test: true, file: false },
{ pattern: '**/.{idea,git,cache,output,temp}/**', ignore: true, trigger: true, load: true, test: true, file: false },
{ pattern: '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*', ignore: true, trigger: true, load: true, test: true, file: false },
{ pattern: '**/*.{test,spec}.?(c|m)[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 2 }
],
workers: { initial: 1, regular: 1, recycle: false },
dot: true,
captureConsoleLog: true,
filesWithNoCoverageCalculated: [],
runAllTestsInAffectedTestFile: false,
updateNoMoreThanOneSnapshotPerTestFileRun: false,
compilers: {},
logLimits: { inline: { depth: 5, elements: 5000 }, values: { default: { stringLength: 8192 }, autoExpand: { elements: 5000, stringLength: 8192, depth: 10 } } },
preprocessors: {},
maxConsoleMessagesPerTest: 100,
maxTraceSteps: 999999,
maxTraceStepsForWatchExpressionPrefetch: 10,
autoConsoleLog: true,
delays: { run: 0, edit: 100, update: 0 },
teardown: undefined,
hints: {
ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore|c8 ignore/',
ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
commentAutoLog: '?',
testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' }
},
automaticTestFileSelection: true,
runSelectedTestsOnly: false,
mapConsoleMessagesStackTrace: false,
extensions: {},
env: {
type: 'node',
params: {},
runner: '/.nvm/versions/node/v21.7.1/bin/node',
viewportSize: { width: 800, height: 600 },
options: { width: 800, height: 600 },
bundle: true
},
reportUnhandledPromises: true,
slowTestThreshold: 75,
lowCoverageThreshold: 80,
runAllTestsWhenNoAffectedTests: false,
symlinkNodeModules: undefined,
configCode: 'auto.detect#-1486913993'
},
packageJSON: {
dependencies: {
'redacted': 'redacted',
},
devDependencies: {
'@aws-sdk/client-secrets-manager': '3.670.0',
'@sentry/types': '8.36.0',
'@types/async': '3.2.24',
'@types/async-retry': '1.4.9',
'@types/aws-lambda': '8.10.145',
'@types/config': '3.3.5',
'@types/koa': '2.15.0',
'@types/koa__router': '12.0.4',
'@types/koa-bodyparser': '5.0.2',
'@types/koa-compose': '3.2.8',
'@types/koa-compress': '4.0.6',
'@types/koa-helmet': '6.0.8',
'@types/lodash': '4.17.10',
'@types/node': '22.7.6',
'@types/stream-json': '1.7.7',
'@vitest/coverage-v8': '2.1.4',
'aws-cdk-lib': '2.161.1',
constructs: '10.3.0',
'datadog-lambda-js': '9.115.0',
esbuild: '0.24.0',
eslint: '9.12.0',
husky: '9.1.6',
'jira-smart-commit': '1.1.2',
'lint-staged': '15.2.10',
msw: '2.6.0',
prettier: '3.3.3',
proxyquire: '2.1.3',
'source-map-support': '0.5.21',
sst: '2.44.0',
'ts-jest': '29.2.5',
'ts-node': '10.9.2',
tsup: '8.3.5',
tsx: '4.19.2',
typescript: '5.6.3',
'typescript-eslint': '8.9.0',
vitest: '2.1.4',
'vitest-mock-extended': '2.0.2'
}
},
fs: { numberOfFiles: 1116 },
debug: [
'2024-11-27T11:59:48.308Z project waiting for initial run signal\n',
'2024-11-27T11:59:48.313Z model Initialization Completed: 151ms\n',
'2024-11-27T11:59:48.362Z config Attempting automatic configuration for vitest\n',
'2024-11-27T11:59:48.364Z vitest/config Detected Vitest (2.1.4).\n',
'2024-11-27T11:59:48.722Z config Finished attempting automatic configuration for vitest (360ms)\n',
'2024-11-27T11:59:48.723Z project Wallaby Node version: v21.7.1\n',
'2024-11-27T11:59:48.723Z project Wallaby config: /XXX/local-development/XXX/auto.detect\n',
'2024-11-27T11:59:48.745Z fs File system starting\n',
'2024-11-27T11:59:48.816Z fs File system scan completed\n',
'2024-11-27T11:59:48.820Z project File cache: /Library/Caches/JetBrains/WebStorm2024.3/wallaby/projects/c57fcf7665804b05\n',
'2024-11-27T11:59:48.821Z project package.json file change detected, invalidating local cache\n',
'2024-11-27T11:59:49.810Z workers Parallelism for initial run: 1, for regular run: 1\n',
'2024-11-27T11:59:49.810Z workers Starting run worker instance #0\n',
'2024-11-27T11:59:49.810Z workers Web server is listening at 60504\n',
'2024-11-27T11:59:49.810Z project File cache requires some updates, waiting required files from IDE\n',
'2024-11-27T11:59:50.081Z workers Started run worker instance (delayed) #0\n',
'2024-11-27T11:59:50.198Z project Stopping process pool\n',
'2024-11-27T11:59:50.200Z project Test run started; run priority: 3\n',
'2024-11-27T11:59:50.202Z project Running all tests\n',
'2024-11-27T11:59:50.217Z workers Starting test run, priority: 3\n',
'2024-11-27T11:59:50.217Z nodeRunner Starting sandbox [worker #0, session #coau3]\n',
'2024-11-27T11:59:50.217Z nodeRunner Preparing sandbox [worker #0, session #coau3]\n',
'2024-11-27T11:59:50.217Z nodeRunner Prepared sandbox [worker #0, session #coau3]\n',
'2024-11-27T11:59:50.217Z workers [worker #0, session #coau3] Running tests in sandbox\n',
'2024-11-27T11:59:50.222Z ui.service Starting UI service on port: 55000\n',
'2024-11-27T11:59:50.224Z ui.service UI service started on port: 55000\n',
'2024-11-27T11:59:50.224Z fs File changed in editor: src/common/recommendation-request.ts\n',
'2024-11-27T11:59:50.225Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.225Z fs File changed in editor: __tests__/unit/resources/content/top-content-report.test.ts\n',
'2024-11-27T11:59:50.226Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.226Z fs File changed in editor: src/models/es_repositories/deviceevent-opensearch.ts\n',
'2024-11-27T11:59:50.226Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.226Z fs File changed in editor: src/resources/content/top-content-report.ts\n',
'2024-11-27T11:59:50.226Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.226Z fs File changed in editor: src/resources/device-type-summarizer.ts\n',
'2024-11-27T11:59:50.226Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.227Z fs File changed in editor: src/models/mysql_repositories/share.ts\n',
'2024-11-27T11:59:50.227Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.227Z fs File changed in editor: src/models/es_repositories/queries/recommendation/activityscope-frequency-by-userscope.ts\n',
'2024-11-27T11:59:50.227Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.227Z fs File changed in editor: src/common/validation-middleware.ts\n',
'2024-11-27T11:59:50.227Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.227Z fs File changed in editor: src/models/es_repositories/deviceevent-management-opensearch.ts\n',
'2024-11-27T11:59:50.227Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.228Z fs File changed in editor: src/models/mysql_repositories/asset.ts\n',
'2024-11-27T11:59:50.228Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.228Z fs File changed in editor: src/resources/exports/events-export-report.ts\n',
'2024-11-27T11:59:50.228Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.228Z fs File changed in editor: src/models/es_repositories/queries/content/in-app-utilization.ts\n',
'2024-11-27T11:59:50.228Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.228Z fs File changed in editor: src/resources/content/in-app-utilization-per-page-report.ts\n',
'2024-11-27T11:59:50.228Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.228Z fs File changed in editor: src/models/es_repositories/filter-helper.ts\n',
'2024-11-27T11:59:50.228Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.228Z fs File changed in editor: __tests__/unit/models/mysql_repositories/asset.test.ts\n',
'2024-11-27T11:59:50.228Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
'2024-11-27T11:59:50.378Z websocket received message ui.trackOverviewTestList\n',
'2024-11-27T11:59:50.378Z websocket received method call: trackOverviewTestList\n',
'2024-11-27T11:59:50.378Z websocket received message ui.trackAllLogsAndErrors\n',
'2024-11-27T11:59:50.378Z websocket received method call: trackAllLogsAndErrors\n',
'2024-11-27T11:59:50.378Z websocket received message ui.trackStatus\n',
'2024-11-27T11:59:50.378Z websocket received method call: trackStatus\n',
'2024-11-27T11:59:50.379Z websocket received message ui.trackTestRun\n',
'2024-11-27T11:59:50.379Z websocket received method call: trackTestRun\n',
'2024-11-27T11:59:50.379Z websocket received message ui.trackStartupEvents\n',
'2024-11-27T11:59:50.379Z websocket received method call: trackStartupEvents\n',
'2024-11-27T11:59:50.379Z websocket received message ui.trackStats\n',
'2024-11-27T11:59:50.379Z websocket received method call: trackStats\n',
'2024-11-27T11:59:50.379Z websocket received message ui.trackStatus\n',
'2024-11-27T11:59:50.379Z websocket received method call: trackStatus\n',
'2024-11-27T11:59:50.379Z websocket received message ui.trackTestRun\n',
'2024-11-27T11:59:50.379Z websocket received method call: trackTestRun\n',
'2024-11-27T11:59:50.379Z websocket received message ui.handshake\n',
'2024-11-27T11:59:50.379Z websocket received method call: handshake\n',
'2024-11-27T11:59:50.380Z websocket received message ui.trackEditorCursor\n',
'2024-11-27T11:59:50.380Z websocket received method call: trackEditorCursor\n',
'2024-11-27T11:59:50.380Z websocket received message ui.trackStatus\n',
'2024-11-27T11:59:50.380Z websocket received method call: trackStatus\n',
"2024-11-27T11:59:50.537Z workers 'Scheduling Vitest Run (coau3): 2024-11-27T11:59:50.536Z'\n",
'2024-11-27T11:59:51.498Z workers [coau3.6] Loaded unknown number of test(s)\n',
'2024-11-27T11:59:51.499Z workers Sandbox (active) [coau3] error: Failed to instrument src/commands/fill-queue-amd.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("@aws-sdk/client-sqs", {"importedNames":["SQSClient","SendMessageBatchCommand"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("/src/commands/organisation-iterator-base.ts", {"importedNames":["OrganisationIteratorBase"]});\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("config", {"importedNames":["default"]});\n',
'2024-11-27T11:59:51.574Z workers [coau3.3] Loaded unknown number of test(s)\n',
'2024-11-27T11:59:51.579Z workers [coau3.7] Loaded unknown number of test(s)\n',
'2024-11-27T11:59:51.580Z workers Sandbox (active) [coau3] error: Failed to instrument src/commands/neo4j-warmup.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("/src/models/neo4j_repositories/graph-repository.ts", {"importedNames":["GraphRepository"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("config", {"importedNames":["default"]});\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("moment", {"importedNames":["default"]});\n',
'2024-11-27T11:59:51.592Z workers [coau3.3] Test executed: should prepare events\n',
'2024-11-27T11:59:51.599Z workers [coau3.2] Loaded unknown number of test(s)\n',
'2024-11-27T11:59:51.610Z workers [coau3.2] Test executed: should generate id for login event action\n',
'2024-11-27T11:59:51.615Z workers [coau3.2] Test executed: should generate id for used event action\n',
'2024-11-27T11:59:51.615Z workers [coau3.2] Test executed: should generate id for kiosk event action\n',
'2024-11-27T11:59:51.618Z workers [coau3.2] Test executed: should generate id for used event action\n',
'2024-11-27T11:59:51.621Z workers [coau3.2] Test executed: should generate id for viewed event action\n',
'2024-11-27T11:59:51.624Z workers [coau3.2] Test executed: should generate id for viewed_asset event action when assetId is null\n',
'2024-11-27T11:59:51.624Z workers [coau3.2] Test executed: should generate id for viewed_asset event action when page and assetId are null\n',
'2024-11-27T11:59:51.628Z workers [coau3.2] Test executed: should generate uuid v4 id\n',
'2024-11-27T11:59:51.629Z workers [coau3.9] Loaded unknown number of test(s)\n',
'2024-11-27T11:59:51.632Z workers [coau3.2] Test executed: should generate id for viewed event action\n',
'2024-11-27T11:59:51.633Z workers [coau3.2] Test executed: should generate id for viewed event action when page is null\n',
'2024-11-27T11:59:51.635Z workers [coau3.2] Test executed: should generate id for viewed event action when page is null\n',
'2024-11-27T11:59:51.637Z workers [coau3.2] Test executed: should generate id for viewed event action\n',
'2024-11-27T11:59:51.642Z workers [coau3.9] Test executed: should hash integers\n',
'2024-11-27T11:59:51.642Z workers [coau3.9] Test executed: should hash strings\n',
'2024-11-27T11:59:51.642Z workers [coau3.2] Test executed: should generate id for viewed event action when dynamic asset id is not null\n',
'2024-11-27T11:59:51.643Z workers [coau3.9] Test executed: should convert a user id to a pid without anonymization\n',
'2024-11-27T11:59:51.643Z workers [coau3.9] Test executed: should convert a user id to a pid with global anonymization\n',
'2024-11-27T11:59:51.645Z workers [coau3.9] Test executed: should convert a user id to a pid with global anonymization\n',
'2024-11-27T11:59:51.682Z workers [coau3] Run 19 test(s), skipped 0 test(s)\n',
'2024-11-27T11:59:51.685Z workers [coau3] Sandbox is responsive, closing it\n',
'2024-11-27T11:59:51.685Z workers Failed to map the stack to user code, entry message: Failed to instrument src/commands/fill-queue-amd.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("@aws-sdk/client-sqs", {"importedNames":["SQSClient","SendMessageBatchCommand"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("/src/commands/organisation-iterator-base.ts", {"importedNames":["OrganisationIteratorBase"]});\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("config", {"importedNames":["default"]});, stack: Failed to instrument src/commands/fill-queue-amd.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("@aws-sdk/client-sqs", {"importedNames":["SQSClient","SendMessageBatchCommand"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("/src/commands/organisation-iterator-base.ts", {"importedNames":["OrganisationIteratorBase"]});\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("config", {"importedNames":["default"]});\n',
'2024-11-27T11:59:51.685Z workers Failed to map the stack to user code, entry message: Failed to instrument src/commands/neo4j-warmup.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("/src/models/neo4j_repositories/graph-repository.ts", {"importedNames":["GraphRepository"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("config", {"importedNames":["default"]});\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("moment", {"importedNames":["default"]});, stack: Failed to instrument src/commands/neo4j-warmup.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("/src/models/neo4j_repositories/graph-repository.ts", {"importedNames":["GraphRepository"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("config", {"importedNames":["default"]});\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("moment", {"importedNames":["default"]});\n',
'2024-11-27T11:59:51.686Z project Test run finished\n',
'2024-11-27T11:59:51.687Z project Processed console.log entries\n',
'2024-11-27T11:59:51.687Z project Processed loading sequences\n',
'2024-11-27T11:59:51.687Z project Test name duplicate: should convert a user id to a pid with global anonymization\n',
'2024-11-27T11:59:51.687Z project Processed executed tests\n',
'2024-11-27T11:59:51.691Z project Processed code coverage\n',
'2024-11-27T11:59:51.709Z project Test run result processed and sent to IDE\n',
'2024-11-27T11:59:51.709Z websocket received message ui.untrackStats\n',
'2024-11-27T11:59:51.709Z websocket received method call: untrackStats\n',
'2024-11-27T11:59:51.709Z websocket received message ui.untrackStartupEvents\n',
'2024-11-27T11:59:51.709Z websocket received method call: untrackStartupEvents\n',
'2024-11-27T11:59:51.709Z websocket received message ui.untrackStatus\n',
'2024-11-27T11:59:51.709Z websocket received method call: untrackStatus\n',
'2024-11-27T11:59:51.709Z websocket received message ui.untrackTestRun\n',
'2024-11-27T11:59:51.709Z websocket received method call: untrackTestRun\n',
'2024-11-27T11:59:51.715Z websocket received message ui.trackStats\n',
'2024-11-27T11:59:51.715Z websocket received method call: trackStats\n',
'2024-11-27T11:59:51.715Z websocket received message ui.trackStatus\n',
'2024-11-27T11:59:51.715Z websocket received method call: trackStatus\n',
'2024-11-27T11:59:51.715Z websocket received message ui.trackTestRun\n',
'2024-11-27T11:59:51.715Z websocket received method call: trackTestRun\n',
'2024-11-27T11:59:51.727Z project Test run started; run priority: 2\n',
'2024-11-27T11:59:51.727Z testTask Test files from affected: 2, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
'2024-11-27T11:59:51.738Z workers Starting test run, priority: 2\n',
'2024-11-27T11:59:51.738Z nodeRunner Starting sandbox [worker #0, session #ivjzg]\n',
'2024-11-27T11:59:51.738Z nodeRunner Preparing sandbox [worker #0, session #ivjzg]\n',
'2024-11-27T11:59:51.738Z nodeRunner Prepared sandbox [worker #0, session #ivjzg]\n',
'2024-11-27T11:59:51.738Z workers [worker #0, session #ivjzg] Running tests in sandbox\n',
"2024-11-27T11:59:52.812Z workers Sandbox (active) [ivjzg] error: TypeError: Cannot read properties of undefined (reading '336')\n" +
' at process.shutdownCommand (/src/commands/organisation-iterator-base.ts:320:13)\n' +
' at process.emit (node:events:531:35)\n' +
' at process.emit (node:domain:488:12)\n',
"2024-11-27T11:59:52.815Z workers Sandbox (active) [ivjzg] error: TypeError: Cannot read properties of undefined (reading '336')\n" +
' at process.shutdownCommand (/src/commands/organisation-iterator-base.ts:320:13)\n' +
' at process.emit (node:events:531:35)\n' +
' at process.emit (node:domain:488:12)\n',
"2024-11-27T11:59:52.815Z workers Sandbox (active) [ivjzg] error: TypeError: Cannot read properties of undefined (reading '336')\n" +
' at process.shutdownCommand (/src/commands/organisation-iterator-base.ts:320:13)\n' +
' at process.emit (node:events:531:35)\n' +
' at process.emit (node:domain:488:12)\n',
"2024-11-27T11:59:52.815Z workers Sandbox (active) [ivjzg] error: TypeError: Cannot read properties of undefined (reading '336')\n" +
' at process.shutdownCommand (/src/commands/organisation-iterator-base.ts:320:13)\n' +
' at process.emit (node:events:531:35)\n' +
' at process.emit (node:domain:488:12)\n',
"2024-11-27T11:59:52.815Z workers Sandbox (active) [ivjzg] error: TypeError: Cannot read properties of undefined (reading '336')\n" +
' at process.shutdownCommand (/src/commands/organisation-iterator-base.ts:320:13)\n' +
' at process.emit (node:events:531:35)\n' +
' at process.emit (node:domain:488:12)\n',
"2024-11-27T11:59:52.815Z workers Sandbox (active) [ivjzg] error: TypeError: Cannot read properties of undefined (reading '336')\n" +
' at process.shutdownCommand (/src/commands/organisation-iterator-base.ts:320:13)\n' +
' at process.emit (node:events:531:35)\n' +
' at process.emit (node:domain:488:12)\n',
'2024-11-27T11:59:52.903Z workers Sandbox (active) [ivjzg] error: Failed to instrument src/commands/elasticsearch-warmup.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("config", {"importedNames":["default"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("/src/common/mysql.ts");\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("/src/common/opensearch.ts");\n',
'2024-11-27T11:59:53.005Z workers [ivjzg] Run 0 test(s), skipped 0 test(s)\n',
'2024-11-27T11:59:53.011Z workers [ivjzg] Sandbox is responsive, closing it\n',
'2024-11-27T11:59:53.011Z workers Failed to map the stack to user code, entry message: Failed to instrument src/commands/elasticsearch-warmup.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("config", {"importedNames":["default"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("/src/common/mysql.ts");\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("/src/common/opensearch.ts");, stack: Failed to instrument src/commands/elasticsearch-warmup.ts\n' +
'> 1 | #!/usr/bin/env node\n' +
" | ^ SyntaxError: Unexpected character '!' (1:1)\n" +
' 2 | const __vite_ssr_import_0__ = await __vite_ssr_import__("config", {"importedNames":["default"]});\n' +
' 3 | const __vite_ssr_import_1__ = await __vite_ssr_import__("/src/common/mysql.ts");\n' +
' 4 | const __vite_ssr_import_2__ = await __vite_ssr_import__("/src/common/opensearch.ts");\n',
'2024-11-27T11:59:53.012Z project Test run finished\n',
'2024-11-27T11:59:53.012Z project Processed console.log entries\n',
'2024-11-27T11:59:53.012Z project Processed loading sequences\n',
'2024-11-27T11:59:53.012Z project Processed executed tests\n',
'2024-11-27T11:59:53.013Z project Processed code coverage\n',
'2024-11-27T11:59:53.015Z project Test run result processed and sent to IDE\n',
'2024-11-27T12:00:52.825Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:00:52.826Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')"\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:00:52.826Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:00:52.826Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')"\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:00:52.826Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:00:52.826Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')"\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:00:52.826Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:00:52.827Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')"\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:00:52.827Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:00:52.827Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')"\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:00:52.827Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:00:52.828Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')"\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.828Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.828Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onWallabyWorkerMessage""\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.835Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:01:52.835Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')""\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.835Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.835Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onWallabyWorkerMessage""\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.835Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:01:52.836Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')""\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.836Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onWallabyWorkerMessage""\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')""\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onWallabyWorkerMessage""\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')""\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onWallabyWorkerMessage""\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')""\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.837Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.838Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onWallabyWorkerMessage""\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
'2024-11-27T12:01:52.838Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onWallabyWorkerMessage"\n' +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n',
`2024-11-27T12:01:52.838Z workers Sandbox (inactive) [ivjzg] error: [vitest-worker]: Timeout calling "onUnhandledError" with "[vitest-worker]: Timeout calling "onUnhandledError" with "Cannot read properties of undefined (reading '336')""\n` +
' at Object.onTimeoutError (file:///node_modules/vitest/dist/chunks/rpc.C3q9uwRX.js:69:17)\n' +
' at Timeout._onTimeout (file:///node_modules/vitest/dist/chunks/index.68735LiX.js:55:41)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at processTimers (node:internal/timers:514:7)\n'
]
}
```
Issue description or question
I have switched recently from Jest to Vitest. My test suite is running fine both locally and on CI/CD. I tested with
npx vitest
which succeeds perfectly fine. But when I try Wallaby it fails on a specific Node CLI command we are testing due to the shebang on top:I don't recall this being an issue with the same code when using Jest + Wallaby. Any insights?
I found an issue and merged PR's for vite-node in https://github.com/vitest-dev/vitest/issues/1175
Our vitest config file is pretty simple:
Note: when I remove the shebang in those CLI command scripts, then Wallaby works as expected. I have tried to remove the shebang for wallaby with a
preprocessors
config but no luck yetWallaby diagnostics report