wallabyjs / public

Repository for Wallaby.js questions and issues
http://wallabyjs.com
759 stars 45 forks source link

Auto configuration does not work with NX workspaces #3359

Closed SMH110 closed 5 months ago

SMH110 commented 5 months ago

Issue description or question

Hi 👋 I am having issue when trying the auto configuration on my nx workspace, but not able to run the tests using Wallaby.js

Error: Failed to load url @saia-ui/helpers (resolved id: @saia-ui/helpers) in ***/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist? 

Error: Failed to load url @saia-ui/types (resolved id: @saia-ui/types) in ***/repo/src/libs/converters/src/lib/src/diagnostics/tests/api-material-origin-converter.test.ts. Does the file exist? 

Error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in ***/reposrepo/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist? 

Wallaby diagnostics report

Show Report ### Wallaby.js Report ``` { editorVersion: '1.88.0-insider', pluginVersion: '1.0.374', editorType: 'VSCode', osVersion: 'win32 10.0.22000', nodeVersion: 'v20.2.0', coreVersion: '1.0.1553', checksum: 'MjNhMGZlNmJmMTk3YjVlMWVlNTQ0MWEyOWE0NmQyMGIsMTcxNTIxMjgwMDAwMCww', config: { diagnostics: { vitest: { config: { config: { allowOnly: true, isolate: true, watch: true, globals: false, environment: 'node', pool: 'threads', clearMocks: false, restoreMocks: false, mockReset: 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.*' ], testTimeout: 5000, hookTimeout: 10000, teardownTimeout: 10000, watchExclude: [ '**/node_modules/**', '**/dist/**' ], forceRerunTriggers: [ '**/package.json/**', '**/{vitest,vite}.config.*/**' ], 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/**', '**/[.]**', 'packages/*/test?(s)/**', '**/*.d.ts', '**/virtual:*', '**/__x00__*', '**/\x00*', 'cypress/**', 'test?(s)/**', 'test?(-*).?(c|m)[jt]s?(x)', '**/*{.,-}{test,spec}.?(c|m)[jt]s?(x)', '**/__tests__/**', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*', '**/vitest.{workspace,projects}.[jt]s?(on)', '**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}' ], reportOnFailure: false, reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ], extension: [ '.js', '.cjs', '.mjs', '.ts', '.mts', '.cts', '.tsx', '.jsx', '.vue', '.svelte', '.marko' ], allowExternal: false, processingConcurrency: 20 }, 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, poolOptions: { threads: {}, forks: {} }, defines: {}, root: 'SomePath', mode: 'test', inspect: false, inspectBrk: false, clearScreen: true, fileParallelism: true, deps: { moduleDirectories: [ '/node_modules/' ], optimizer: { ssr: { enabled: true }, web: { enabled: true } }, web: { transformAssets: true, transformCss: true, transformGlobPattern: [] } }, server: { deps: { inline: [ {}, {}, {}, '@nuxt/test-utils' ], moduleDirectories: [ '/node_modules/' ], cacheDir: 'node_modules/.vite' } }, snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null }, snapshotSerializers: [], poolMatchGlobs: [], setupFiles: [], globalSetup: [], cache: { dir: 'SomePath/node_modules/.vite/vitest' }, sequence: { hooks: 'parallel' }, environmentMatchGlobs: [], browser: { enabled: false, headless: false, slowHijackESM: false, isolate: true, api: { middlewareMode: true } }, testTransformMode: {} }, projects: [ { path: 'SomePath', config: { allowOnly: true, isolate: true, watch: true, globals: false, environment: 'node', pool: 'threads', clearMocks: false, restoreMocks: false, mockReset: 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.*' ], testTimeout: 5000, hookTimeout: 10000, teardownTimeout: 10000, watchExclude: [ '**/node_modules/**', '**/dist/**' ], forceRerunTriggers: [ '**/package.json/**', '**/{vitest,vite}.config.*/**' ], 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/**', '**/[.]**', 'packages/*/test?(s)/**', '**/*.d.ts', '**/virtual:*', '**/__x00__*', '**/\x00*', 'cypress/**', 'test?(s)/**', 'test?(-*).?(c|m)[jt]s?(x)', '**/*{.,-}{test,spec}.?(c|m)[jt]s?(x)', '**/__tests__/**', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*', '**/vitest.{workspace,projects}.[jt]s?(on)', '**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}' ], reportOnFailure: false, reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ], extension: [ '.js', '.cjs', '.mjs', '.ts', '.mts', '.cts', '.tsx', '.jsx', '.vue', '.svelte', '.marko' ], allowExternal: false, processingConcurrency: 20 }, 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, poolOptions: { threads: {}, forks: {} }, defines: {}, root: 'SomePath', mode: 'test', inspect: false, inspectBrk: false, clearScreen: true, fileParallelism: true, deps: { moduleDirectories: [ '/node_modules/' ], optimizer: { ssr: { enabled: true }, web: { enabled: true } }, web: { transformAssets: true, transformCss: true, transformGlobPattern: [] } }, server: { deps: { inline: [ {}, {}, {}, '@nuxt/test-utils' ], moduleDirectories: [ '/node_modules/' ], cacheDir: 'node_modules/.vite' } }, snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null }, snapshotSerializers: [], poolMatchGlobs: [], setupFiles: [], globalSetup: [], cache: { dir: 'SomePath/node_modules/.vite/vitest' }, sequence: { hooks: 'parallel' }, environmentMatchGlobs: [], browser: { enabled: false, headless: false, slowHijackESM: false, isolate: true, api: { middlewareMode: true } }, testTransformMode: {} } } ], package: { version: '1.4.0', urls: { hooks: 'file:///c:/*******/.vscode-insiders/extensions/wallabyjs.wallaby-vscode-1.0.374/wallaby1d8c49/runners/node/hooks.mjs' }, paths: { root: 'C:\\repos\\saia-repo\\node_modules\\vitest', dist: 'C:\\repos\\saia-repo\\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: '**\\*.{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: '**\\node_modules\\**', ignore: true, trigger: true, load: true, file: true }, { pattern: '**\\dist\\**', ignore: true, trigger: true, load: true, file: true }, { pattern: '**\\cypress\\**', ignore: true, trigger: true, load: true, file: true }, { pattern: '**\\.{idea,git,cache,output,temp}\\**', ignore: true, trigger: true, load: true, file: 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 }, { 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: '**\\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 }, { pattern: '**\\*.{test,spec}.?(c|m)[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 3 } ], 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, 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: '--experimental-loader=file:///c:/*******/.vscode-insiders/extensions/wallabyjs.wallaby-vscode-1.0.374/wallaby1d8c49/runners/node/hooks.mjs' }, runner: 'C:\\Program Files\\nodejs\\node.exe', viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true }, reportUnhandledPromises: true, slowTestThreshold: 75, lowCoverageThreshold: 80, runAllTestsWhenNoAffectedTests: true, symlinkNodeModules: undefined, configCode: 'auto.detect#945959620' }, packageJSON: { dependencies: { '@emotion/react': '^11.11.4', '@emotion/styled': '^11.11.0', '@mui/icons-material': '^5.15.11', '@mui/material': '^5.15.11', '@swc/helpers': '~0.5.2', highcharts: '^11.3.0', react: '18.2.0', 'react-dom': '18.2.0', tslib: '^2.3.0' }, devDependencies: { '@nx/eslint': '18.2.2', '@nx/eslint-plugin': '18.2.2', '@nx/js': '18.2.2', '@nx/react': '18.2.2', '@nx/rollup': '18.2.2', '@nx/vite': '18.2.2', '@nx/web': '18.2.2', '@nx/workspace': '18.2.2', '@rollup/plugin-url': '^7.0.0', '@svgr/rollup': '^8.0.1', '@swc-node/register': '~1.8.0', '@swc/cli': '~0.1.62', '@swc/core': '~1.3.85', '@swc/helpers': '~0.5.2', '@testing-library/jest-dom': '^6.4.2', '@testing-library/react': '14.0.0', '@types/node': '18.16.9', '@types/react': '18.2.33', '@types/react-dom': '18.2.14', '@typescript-eslint/eslint-plugin': '^7.3.0', '@typescript-eslint/parser': '^7.3.0', '@vitejs/plugin-react': '^4.2.0', '@vitejs/plugin-react-swc': '^3.5.0', '@vitest/coverage-v8': '^1.0.4', '@vitest/ui': '^1.3.1', eslint: '~8.57.0', 'eslint-config-prettier': '^9.0.0', 'eslint-plugin-import': '2.27.5', 'eslint-plugin-jsx-a11y': '6.7.1', 'eslint-plugin-react': '7.32.2', 'eslint-plugin-react-hooks': '4.6.0', jsdom: '~22.1.0', nx: '18.2.2', prettier: '^2.6.2', sass: '^1.55.0', 'swc-loader': '0.1.15', typescript: '~5.4.2', verdaccio: '^5.30.2', vite: '~5.0.0', 'vite-plugin-dts': '~3.8.1', vitest: '^1.3.1' } }, fs: { numberOfFiles: 280 }, debug: [ '2024-04-10T14:36:35.171Z project waiting for initial run signal\n', '2024-04-10T14:36:35.183Z config Attempting automatic configuration for vitest\n', '2024-04-10T14:36:35.185Z vitest/config Detected Vitest (1.4.0).\n', '2024-04-10T14:36:36.066Z config Finished attempting automatic configuration for vitest (884ms)\n', '2024-04-10T14:36:36.068Z project Wallaby Node version: v20.2.0\n', '2024-04-10T14:36:36.068Z project Wallaby config: C:\\repos\\saia-repo\\auto.detect\n', '2024-04-10T14:36:36.125Z fs File system starting\n', '2024-04-10T14:36:36.539Z fs File system scan completed\n', '2024-04-10T14:36:36.547Z project File cache: ****\\.vscode-insiders\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\projects\\0210c6d35a883080\n', '2024-04-10T14:36:36.794Z uiService Listening port 51235\n', '2024-04-10T14:36:36.821Z workers Parallelism for initial run: 1, for regular run: 1\n', '2024-04-10T14:36:36.821Z workers Starting run worker instance #0\n', '2024-04-10T14:36:36.824Z workers Web server is listening at 54096\n', '2024-04-10T14:36:36.847Z project File cache requires some updates, waiting required files from IDE\n', '2024-04-10T14:36:36.869Z fs File changed in editor: src/libs/results-summary/src/hooks/tests/use-activities.test.ts\n', '2024-04-10T14:36:36.876Z fs File changed in editor: src/libs/results-summary/src/hooks/use-activities.ts\n', '2024-04-10T14:36:36.890Z project Stopping process pool\n', '2024-04-10T14:36:36.964Z project Test run started; run priority: 3\n', '2024-04-10T14:36:36.966Z project Running all tests\n', '2024-04-10T14:36:36.971Z workers Starting test run, priority: 3\n', '2024-04-10T14:36:36.971Z nodeRunner Starting sandbox [worker #0, session #91253]\n', '2024-04-10T14:36:36.971Z nodeRunner Preparing sandbox [worker #0, session #91253]\n', '2024-04-10T14:36:37.126Z workers Started run worker instance (delayed) #0\n', '2024-04-10T14:36:37.126Z nodeRunner Prepared sandbox [worker #0, session #91253]\n', '2024-04-10T14:36:37.126Z workers [worker #0, session #91253] Running tests in sandbox\n', "2024-04-10T14:36:37.891Z workers 'Scheduling Vitest Run (91253): 2024-04-10T14:36:37.889Z'\n", "2024-04-10T14:36:37.891Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\components\\src\\common-error\\tests\\common-error.test.tsx'\n", "2024-04-10T14:36:37.892Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\components\\src\\copy-guid\\tests\\copy-guid.test.tsx'\n", "2024-04-10T14:36:37.892Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\components\\src\\copy-to-clipboard\\copy-to-clipboard\\tests\\copy-to-clipboard.test.tsx'\n", "2024-04-10T14:36:37.892Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\components\\src\\debuggable-error\\test\\debuggable-error.test.tsx'\n", "2024-04-10T14:36:37.892Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\components\\src\\progress-indicator-dialog\\tests\\progress-indicator-dialog.test.tsx'\n", "2024-04-10T14:36:37.892Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\components\\src\\progress-indicator\\tests\\progress-indicator.test.tsx'\n", "2024-04-10T14:36:37.893Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\converters\\src\\lib\\src\\diagnostics\\tests\\api-material-origin-converter.test.ts'\n", "2024-04-10T14:36:37.893Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\converters\\src\\lib\\src\\diagnostics\\tests\\api-reason-required-converter.test.ts'\n", "2024-04-10T14:36:37.893Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\converters\\src\\lib\\src\\diagnostics\\tests\\api-unrecoverable-errors-converter.test.ts'\n", "2024-04-10T14:36:37.893Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\diagnostics\\src\\hooks\\tests\\use-unrecoverable-errors-data.test.ts'\n", "2024-04-10T14:36:37.893Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\diagnostics\\src\\missing-required-property\\tests\\missing-required-property.test.tsx'\n", "2024-04-10T14:36:37.894Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\diagnostics\\src\\recycle-is-unsupported\\tests\\recycle-is-unsupported.test.tsx'\n", "2024-04-10T14:36:37.894Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\diagnostics\\src\\reducers\\tests\\unrecoverable-errors-reducer.test.ts'\n", "2024-04-10T14:36:37.894Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\diagnostics\\src\\unrecoverable-errors\\tests\\unrecoverable-errors.test.tsx'\n", "2024-04-10T14:36:37.894Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\results-summary\\src\\hooks\\tests\\use-activities.test.ts'\n", "2024-04-10T14:36:37.894Z workers 'Did not find project to provide to \\'vitest\\' for file: C:\\repos\\saia-repo\\src\\libs\\results-summary\\src\\results-summary\\tests\\results-summary.test.tsx'\n", '2024-04-10T14:36:39.039Z workers Sandbox (active) [91253] error: Failed to load url @saia-ui/helpers (resolved id: @saia-ui/helpers) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.040Z workers [91253.15] Loaded unknown number of test(s)\n', '2024-04-10T14:36:39.040Z workers [91253.7] Loaded unknown number of test(s)\n', '2024-04-10T14:36:39.040Z workers Sandbox (active) [91253] error: Failed to load url @saia-ui/types (resolved id: @saia-ui/types) in SomePath/src/libs/converters/src/lib/src/diagnostics/tests/api-material-origin-converter.test.ts. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.057Z workers [91253.9] Loaded unknown number of test(s)\n', '2024-04-10T14:36:39.057Z workers Sandbox (active) [91253] error: Failed to load url @saia-ui/types (resolved id: @saia-ui/types) in SomePath/src/libs/converters/src/lib/src/diagnostics/tests/api-material-origin-converter.test.ts. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.065Z workers [91253.8] Loaded unknown number of test(s)\n', '2024-04-10T14:36:39.065Z workers [91253.10] Loaded unknown number of test(s)\n', '2024-04-10T14:36:39.065Z workers Sandbox (active) [91253] error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)Error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.070Z workers Sandbox (active) [91253] error: Failed to load url @saia-ui/helpers (resolved id: @saia-ui/helpers) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.074Z workers [91253.13] Loaded unknown number of test(s)\n', '2024-04-10T14:36:39.081Z workers Sandbox (active) [91253] error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.082Z workers [91253.14] Loaded unknown number of test(s)\n', '2024-04-10T14:36:39.188Z workers [91253] Run 0 test(s), skipped 0 test(s)\n', '2024-04-10T14:36:39.188Z workers [91253] Sandbox is responsive, closing it\n', '2024-04-10T14:36:39.191Z workers Failed to map the stack to user code, entry message: Error: Failed to load url @saia-ui/helpers (resolved id: @saia-ui/helpers) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?, stack: Error: Failed to load url @saia-ui/helpers (resolved id: @saia-ui/helpers) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async Object.transformRequest (****\\.vscode-insiders\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby1d8c49\\runners\\node\\vitest@0.14.0\\initializer.js:14:30971)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.191Z workers Failed to map the stack to user code, entry message: Error: Failed to load url @saia-ui/types (resolved id: @saia-ui/types) in SomePath/src/libs/converters/src/lib/src/diagnostics/tests/api-material-origin-converter.test.ts. Does the file exist?, stack: Error: Failed to load url @saia-ui/types (resolved id: @saia-ui/types) in SomePath/src/libs/converters/src/lib/src/diagnostics/tests/api-material-origin-converter.test.ts. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async Object.transformRequest (****\\.vscode-insiders\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby1d8c49\\runners\\node\\vitest@0.14.0\\initializer.js:14:30971)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.191Z workers Failed to map the stack to user code, entry message: Error: Failed to load url @saia-ui/types (resolved id: @saia-ui/types) in SomePath/src/libs/converters/src/lib/src/diagnostics/tests/api-material-origin-converter.test.ts. Does the file exist?, stack: Error: Failed to load url @saia-ui/types (resolved id: @saia-ui/types) in SomePath/src/libs/converters/src/lib/src/diagnostics/tests/api-material-origin-converter.test.ts. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async Object.transformRequest (****\\.vscode-insiders\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby1d8c49\\runners\\node\\vitest@0.14.0\\initializer.js:14:30971)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.191Z workers Failed to map the stack to user code, entry message: Error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?, stack: Error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async Object.transformRequest (****\\.vscode-insiders\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby1d8c49\\runners\\node\\vitest@0.14.0\\initializer.js:14:30971)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)Error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecove\n', '2024-04-10T14:36:39.192Z workers Failed to map the stack to user code, entry message: Error: Failed to load url @saia-ui/helpers (resolved id: @saia-ui/helpers) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?, stack: Error: Failed to load url @saia-ui/helpers (resolved id: @saia-ui/helpers) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async Object.transformRequest (****\\.vscode-insiders\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby1d8c49\\runners\\node\\vitest@0.14.0\\initializer.js:14:30971)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.192Z workers Failed to map the stack to user code, entry message: Error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?, stack: Error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async Object.transformRequest (****\\.vscode-insiders\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby1d8c49\\runners\\node\\vitest@0.14.0\\initializer.js:14:30971)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:39.196Z project Test run finished\n', '2024-04-10T14:36:39.197Z project Processed console.log entries\n', '2024-04-10T14:36:39.197Z project Processed loading sequences\n', '2024-04-10T14:36:39.197Z project Processed executed tests\n', '2024-04-10T14:36:39.204Z project Processed code coverage\n', '2024-04-10T14:36:39.239Z project Test run result processed and sent to IDE\n', '2024-04-10T14:36:39.647Z workers Sandbox (inactive) [91253] error: ReferenceError: expect is not defined\n' + ' at file:///SomePath/node_modules/@testing-library/jest-dom/dist/index.mjs:12:1\n' + ' at ModuleJob.run (node:internal/modules/esm/module_job:192:25)\n', '2024-04-10T14:36:39.955Z workers Sandbox (inactive) [91253] error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:40.040Z workers Sandbox (inactive) [91253] error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:40.059Z workers Sandbox (inactive) [91253] error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:40.061Z workers Sandbox (inactive) [91253] error: ReferenceError: expect is not defined\n' + ' at file:///SomePath/node_modules/@testing-library/jest-dom/dist/index.mjs:12:1\n' + ' at ModuleJob.run (node:internal/modules/esm/module_job:192:25)\n', '2024-04-10T14:36:41.071Z workers Sandbox (inactive) [91253] error: ReferenceError: describe is not defined\n' + ' at .\\src\\libs\\components\\src\\common-error\\tests\\common-error.test.tsx:10:21\n' + ' at VitestExecutor.runModule (file:///SomePath/node_modules/vite-node/dist/client.mjs:362:5)\n' + ' at VitestExecutor.directRequest (file:///SomePath/node_modules/vite-node/dist/client.mjs:346:5)\n' + ' at VitestExecutor.cachedRequest (file:///SomePath/node_modules/vite-node/dist/client.mjs:189:14)\n' + ' at VitestExecutor.executeId (file:///SomePath/node_modules/vite-node/dist/client.mjs:165:12)\n' + ' at collectTestsPatched (file:///SomePath/node_modules/@vitest/runner/dist/index.js:624:7)\n' + ' at collectTests (file:///SomePath/node_modules/@vitest/runner/dist/index.js:603:61)\n' + ' at startTests (file:///SomePath/node_modules/@vitest/runner/dist/index.js:950:17)\n' + ' at file:///SomePath/node_modules/vitest/dist/chunks/runtime-runBaseTests.SKlFOhuq.js:114:7\n' + ' at withEnv (file:///SomePath/node_modules/vitest/dist/chunks/runtime-runBaseTests.SKlFOhuq.js:82:5)\n' + ' at run (file:///SomePath/node_modules/vitest/dist/chunks/runtime-runBaseTests.SKlFOhuq.js:103:3)\n' + ' at runBaseTests (file:///SomePath/node_modules/vitest/dist/vendor/base.nhvUBzQY.js:30:3)\n' + ' at run (file:///SomePath/node_modules/vitest/dist/worker.js:130:5)\n' + ' at run (file:///c:/*******/.vscode-insiders/extensions/wallabyjs.wallaby-vscode-1.0.374/wallaby1d8c49/runners/node/vitest@0.14.0/worker.mjs:1:255)\n' + ' at file:///SomePath/node_modules/tinypool/dist/esm/entry/worker.js:72:20\n', '2024-04-10T14:36:41.200Z workers Sandbox (inactive) [91253] error: ReferenceError: describe is not defined\n' + ' at .\\src\\libs\\components\\src\\progress-indicator-dialog\\tests\\progress-indicator-dialog.test.tsx:16:21\n' + ' at VitestExecutor.runModule (file:///SomePath/node_modules/vite-node/dist/client.mjs:362:5)\n' + ' at VitestExecutor.directRequest (file:///SomePath/node_modules/vite-node/dist/client.mjs:346:5)\n' + ' at VitestExecutor.cachedRequest (file:///SomePath/node_modules/vite-node/dist/client.mjs:189:14)\n' + ' at VitestExecutor.executeId (file:///SomePath/node_modules/vite-node/dist/client.mjs:165:12)\n' + ' at collectTestsPatched (file:///SomePath/node_modules/@vitest/runner/dist/index.js:624:7)\n' + ' at collectTests (file:///SomePath/node_modules/@vitest/runner/dist/index.js:603:61)\n' + ' at startTests (file:///SomePath/node_modules/@vitest/runner/dist/index.js:950:17)\n' + ' at file:///SomePath/node_modules/vitest/dist/chunks/runtime-runBaseTests.SKlFOhuq.js:114:7\n' + ' at withEnv (file:///SomePath/node_modules/vitest/dist/chunks/runtime-runBaseTests.SKlFOhuq.js:82:5)\n' + ' at run (file:///SomePath/node_modules/vitest/dist/chunks/runtime-runBaseTests.SKlFOhuq.js:103:3)\n' + ' at runBaseTests (file:///SomePath/node_modules/vitest/dist/vendor/base.nhvUBzQY.js:30:3)\n' + ' at run (file:///SomePath/node_modules/vitest/dist/worker.js:130:5)\n' + ' at run (file:///c:/*******/.vscode-insiders/extensions/wallabyjs.wallaby-vscode-1.0.374/wallaby1d8c49/runners/node/vitest@0.14.0/worker.mjs:1:255)\n' + ' at file:///SomePath/node_modules/tinypool/dist/esm/entry/worker.js:72:20\n', '2024-04-10T14:36:50.296Z workers Sandbox (inactive) [91253] error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n', '2024-04-10T14:36:51.051Z workers Sandbox (inactive) [91253] error: Failed to load url @saia-ui/resources (resolved id: @saia-ui/resources) in SomePath/src/libs/diagnostics/src/unrecoverable-errors/tests/unrecoverable-errors.test.tsx. Does the file exist?\n' + ' at loadAndTransform (file:///SomePath/node_modules/vite/dist/node/chunks/dep-dh3wN_2j.js:49731:21)\n' + ' at async ViteNodeServer._wallabyTransformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:413:16)\n' + ' at async ViteNodeServer._transformRequest (file:///SomePath/node_modules/vite-node/dist/server.mjs:399:65)\n' + ' at async ViteNodeServer._fetchModule (file:///SomePath/node_modules/vite-node/dist/server.mjs:379:17)\n' ] } ```
smcenlly commented 5 months ago

Based on your diagnostics report, your project has vitest explicitly defined as a dependency. This means that Wallaby will try and start your project's tests using vitest, but your diagnostics report indicates that your vite / vitest configuration file is missing. We can't see any other test runners as either direct or transitive dependencies.

Can you please describe how you are running your tests outside of Wallaby? Are you using vitest?

If you run npx vitest from your the same folder that you're using when you start Wallaby, does it work for you?

SMH110 commented 5 months ago

Hi @smcenlly

This an example of vite config

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";

export default defineConfig({
    root: __dirname,
    plugins: [react(), nxViteTsPaths()],
    cacheDir: "../../../node_modules/.vitest/",
    // Uncomment this if you are using workers.
    // worker: {
    //  plugins: [ nxViteTsPaths() ],
    // },

    test: {
        globals: true,
        environment: "jsdom",
        include: ["src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],

        reporters: ["default"],
        typecheck: {
            enabled: true,
            checker: "tsc",
            include: ["src/**/*.test.ts"],
            tsconfig: "./tsconfig.spec.json",
        },
    },
});

I am not using vitest directly to the run the tests. I run them via nx, nx test converters

Please note, this is a mono repo workspace, so each workspace has its own configuration image

If you run npx vitest from your the same folder that you're using when you start Wallaby, does it work for you?

Yes

smcenlly commented 5 months ago

Thanks for the details. We had tried a simple NX project with vite / vitest yesterday and it was working for us, but we can now see how it fails for a vitest workspace.

We're investigating.

smcenlly commented 5 months ago

We had been working to identify the cause of issue for the last few days. We discovered an incorrect assumption in Wallaby's integration with vitest - files were presumed to transform uniformly by vite/vitest (i.e. the same file will always result in the same transformed content). This isn't the case in workspaces with inter-project imports.

This is fixed in the latest version of Wallaby core, v1.0.1559.

SMH110 commented 5 months ago

Thanks, that was a quick fix :) 👍