Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support for vitest browser mode #3444

Closed
bhvngt opened this issue Dec 27, 2024 · 1 comment
Closed

Support for vitest browser mode #3444

bhvngt opened this issue Dec 27, 2024 · 1 comment

Comments

@bhvngt
Copy link

bhvngt commented Dec 27, 2024

Issue description or question

Does wallaby v2 supports vitest browser mode?

I tried using it in a simple monorepo and found that it errors out on tests mapped to browser mode.

Here's a screenshot of wallaby's ui

image

Wallaby diagnostics report

{
  editorVersion: 'IntelliJ IDEA 2024.3.1.1',
  pluginVersion: '1.0.312',
  editorType: 'IntelliJ',
  osVersion: 'darwin 24.2.0',
  nodeVersion: 'v22.10.0',
  coreVersion: '1.0.1673',
  pnp: '<not set>',
  pnpEsm: '<not set>',
  checksum: 'OTc0NjE3YjFjM2UyYjAxM2Q4M2U5MzUxY2YyYWQwMjIsMTc2NDIwMTYwMDAwMCww',
  config: {
    diagnostics: {
      vitest: {
        file: {
          config: 'import { defineWorkspace } from "vitest/config";\n' +
            '\n' +
            'export default defineWorkspace([\n' +
            '  {\n' +
            '    test: {\n' +
            '      // an example of file based convention,\n' +
            "      // you don't have to follow it\n" +
            '      include: [\n' +
            "        '**/test/**/!(*.browser).{test,spec}.ts',\n" +
            '      ],\n' +
            "      name: 'node',\n" +
            "      environment: 'node',\n" +
            '    },\n' +
            '  },\n' +
            '  {\n' +
            '    test: {\n' +
            '      // an example of file based convention,\n' +
            "      // you don't have to follow it\n" +
            '      include: [\n' +
            "        '**/test/**/*.browser.{test,spec}.ts',\n" +
            '      ],\n' +
            "      name: 'browser',\n" +
            '      browser: {\n' +
            '        enabled: true,\n' +
            "        name: 'chromium',\n" +
            '        headless: true,\n' +
            "        provider: 'playwright',\n" +
            '      },\n' +
            '    },\n' +
            '  },\n' +
            '])'
        },
        config: {
          config: {
            allowOnly: true,
            isolate: true,
            watch: true,
            globals: false,
            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.*/**' ],
            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}'
              ],
              reportOnFailure: false,
              reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ],
              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,
            poolOptions: { threads: {}, forks: {} },
            defines: {},
            root: '<homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser',
            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: [] }
            },
            setupFiles: [],
            globalSetup: [],
            server: { deps: { inline: [ {}, {}, {} ], inlineFiles: [], moduleDirectories: [ '/node_modules/' ], cacheDir: 'node_modules/.vite' } },
            snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
            snapshotSerializers: [],
            poolMatchGlobs: [],
            cache: { dir: '<homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser/node_modules/.vite/vitest' },
            sequence: { hooks: 'stack' },
            environmentMatchGlobs: [],
            testTransformMode: {},
            testTimeout: 5000,
            hookTimeout: 10000
          },
          projects: [
            {
              path: '0',
              config: {
                allowOnly: true,
                isolate: true,
                watch: true,
                globals: false,
                environment: 'node',
                pool: 'forks',
                clearMocks: false,
                restoreMocks: false,
                mockReset: false,
                unstubGlobals: false,
                unstubEnvs: false,
                include: [ '**/test/**/!(*.browser).{test,spec}.ts' ],
                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.*/**' ],
                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}'
                  ],
                  reportOnFailure: false,
                  reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ],
                  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,
                name: 'node',
                defines: {},
                root: '<homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser',
                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: [] }
                },
                setupFiles: [],
                globalSetup: [],
                server: { deps: { inline: [ {}, {}, {} ], inlineFiles: [], moduleDirectories: [ '/node_modules/' ], cacheDir: 'node_modules/.vite' } },
                snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
                snapshotSerializers: [],
                poolMatchGlobs: [],
                cache: { dir: '<homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser/node_modules/.vite/vitest/36c4536996ca5615dcf9911f068786dc' },
                sequence: { hooks: 'stack' },
                environmentMatchGlobs: [],
                testTransformMode: {},
                testTimeout: 5000,
                hookTimeout: 10000
              }
            },
            {
              path: '1',
              config: {
                allowOnly: true,
                isolate: true,
                watch: true,
                globals: false,
                environment: 'node',
                pool: 'forks',
                clearMocks: false,
                restoreMocks: false,
                mockReset: false,
                unstubGlobals: false,
                unstubEnvs: false,
                include: [ '**/test/**/*.browser.{test,spec}.ts' ],
                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.*/**' ],
                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}'
                  ],
                  reportOnFailure: false,
                  reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ],
                  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,
                name: 'browser',
                browser: {
                  enabled: true,
                  name: 'chromium',
                  headless: true,
                  provider: 'playwright',
                  isolate: true,
                  fileParallelism: true,
                  ui: false,
                  screenshotFailures: true,
                  viewport: { width: 414, height: 896 },
                  locators: { testIdAttribute: 'data-testid' },
                  api: { middlewareMode: true }
                },
                defines: {},
                root: '<homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser',
                mode: 'test',
                provide: {},
                inspector: { enabled: false, waitForDebugger: false },
                clearScreen: true,
                fileParallelism: true,
                expect: {},
                deps: {
                  moduleDirectories: [ '/node_modules/' ],
                  optimizer: { ssr: { enabled: true }, web: { enabled: true } },
                  web: { transformAssets: true, transformCss: true, transformGlobPattern: [] }
                },
                setupFiles: [],
                globalSetup: [],
                server: { deps: { inline: [ {}, {}, {} ], inlineFiles: [], moduleDirectories: [ '/node_modules/' ], cacheDir: 'node_modules/.vite' } },
                snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
                snapshotSerializers: [],
                poolMatchGlobs: [],
                cache: { dir: '<homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser/node_modules/.vite/vitest/8e3f1bbb73f0f6c952fcf873332eae9f' },
                sequence: { hooks: 'stack' },
                environmentMatchGlobs: [],
                testTransformMode: {},
                testTimeout: 15000,
                hookTimeout: 30000
              }
            }
          ],
          package: {
            version: '2.1.8',
            urls: { hooks: 'file://<homeDir>/Library/Caches/JetBrains/IntelliJIdea2024.3/wallaby/wallaby/runners/node/hooks.mjs' },
            paths: {
              root: '<homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_@[email protected][email protected]_/node_modules/vitest',
              dist: '<homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_@[email protected][email protected]_/node_modules/vitest/dist'
            }
          }
        }
      }
    },
    testFramework: { version: '[email protected]', configurator: '[email protected]', reporter: '[email protected]', starter: '[email protected]', 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/**/!(*.browser).{test,spec}.ts', ignore: true, trigger: true, load: true, file: true },
      { pattern: '**/test/**/*.browser.{test,spec}.ts', 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 },
      { pattern: '**/test/**/!(*.browser).{test,spec}.ts', ignore: false, trigger: true, load: true, test: true, order: 3 },
      { pattern: '**/test/**/*.browser.{test,spec}.ts', ignore: false, trigger: true, load: true, test: true, order: 4 }
    ],
    workers: { initial: 1, regular: 1, recycle: false },
    dot: true,
    captureConsoleLog: true,
    filesWithNoCoverageCalculated: [],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    smartStart: [ { test: true, source: false, pattern: '**/*', startMode: 'open' }, { test: false, source: true, pattern: '**/*', startMode: 'edit' } ],
    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: true,
    mapConsoleMessagesStackTrace: false,
    extensions: {},
    env: { type: 'node', params: {}, runner: '<homeDir>/Library/pnpm/nodejs/22.10.0/bin/node', viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
    reportUnhandledPromises: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    runAllTestsWhenNoAffectedTests: false,
    symlinkNodeModules: true,
    configCode: 'auto.detect#-1985681171',
    testLocations: [ 'libs/ui/test/add.browser.test.ts', 'libs/ui/test/add.test.ts' ]
  },
  packageJSON: { dependencies: undefined, devDependencies: { '@vitest/browser': '^2.1.8', playwright: '^1.49.1', typescript: '^5.7.2', vite: '^5.4.11', vitest: '^2.1.8' } },
  fs: { numberOfFiles: 11 },
  debug: [
    '2024-12-27T07:37:20.628Z project waiting for initial run signal\n',
    '2024-12-27T07:37:20.631Z model Initialization Completed: 139ms\n',
    '2024-12-27T07:37:20.677Z config Attempting automatic configuration for vitest\n',
    '2024-12-27T07:37:20.678Z vitest/config Detected Vitest (2.1.8).\n',
    '2024-12-27T07:37:20.978Z config Finished attempting automatic configuration for vitest (301ms)\n',
    '2024-12-27T07:37:20.979Z project Wallaby Node version: v22.10.0\n',
    '2024-12-27T07:37:20.979Z project Wallaby config: <homeDir>/Projects/gembatech/temp/wallabyjs-vitest-browser/auto.detect\n',
    '2024-12-27T07:37:21.000Z fs File system starting\n',
    '2024-12-27T07:37:21.016Z fs File system scan completed\n',
    '2024-12-27T07:37:21.018Z project File cache: <homeDir>/Library/Caches/JetBrains/IntelliJIdea2024.3/wallaby/projects/500643b845587fc1\n',
    '2024-12-27T07:37:21.021Z workers Parallelism for initial run: 1, for regular run: 1\n',
    '2024-12-27T07:37:21.021Z workers Starting run worker instance #0\n',
    '2024-12-27T07:37:21.021Z workers Web server is listening at 49541\n',
    '2024-12-27T07:37:21.023Z project Stopping process pool\n',
    '2024-12-27T07:37:21.023Z project File cache is up-to-date, starting full test run\n',
    '2024-12-27T07:37:21.025Z project Requested to run all tests\n',
    '2024-12-27T07:37:21.025Z project Requested to run all tests\n',
    '2024-12-27T07:37:21.026Z project Test run started; run priority: 3\n',
    '2024-12-27T07:37:21.027Z project Running all tests\n',
    '2024-12-27T07:37:21.035Z workers Starting test run, priority: 3\n',
    '2024-12-27T07:37:21.035Z nodeRunner Starting sandbox [worker #0, session #ukheq]\n',
    '2024-12-27T07:37:21.035Z nodeRunner Preparing sandbox [worker #0, session #ukheq]\n',
    '2024-12-27T07:37:21.036Z ui.service Starting UI service on port: 55000\n',
    '2024-12-27T07:37:21.038Z ui.service UI service started on port: 55000\n',
    '2024-12-27T07:37:21.121Z websocket received message ui.trackOverviewTestList\n',
    '2024-12-27T07:37:21.121Z websocket received method call: trackOverviewTestList\n',
    '2024-12-27T07:37:21.123Z websocket received message ui.trackAllLogsAndErrors\n',
    '2024-12-27T07:37:21.123Z websocket received method call: trackAllLogsAndErrors\n',
    '2024-12-27T07:37:21.124Z websocket received message ui.trackStatus\n',
    '2024-12-27T07:37:21.124Z websocket received method call: trackStatus\n',
    '2024-12-27T07:37:21.124Z websocket received message ui.trackTestRun\n',
    '2024-12-27T07:37:21.124Z websocket received method call: trackTestRun\n',
    '2024-12-27T07:37:21.124Z websocket received message ui.trackStartupEvents\n',
    '2024-12-27T07:37:21.124Z websocket received method call: trackStartupEvents\n',
    '2024-12-27T07:37:21.124Z websocket received message ui.trackStats\n',
    '2024-12-27T07:37:21.124Z websocket received method call: trackStats\n',
    '2024-12-27T07:37:21.125Z websocket received message ui.trackStatus\n',
    '2024-12-27T07:37:21.125Z websocket received method call: trackStatus\n',
    '2024-12-27T07:37:21.125Z websocket received message ui.trackTestRun\n',
    '2024-12-27T07:37:21.125Z websocket received method call: trackTestRun\n',
    '2024-12-27T07:37:21.125Z websocket received message ui.handshake\n',
    '2024-12-27T07:37:21.125Z websocket received method call: handshake\n',
    '2024-12-27T07:37:21.125Z websocket received message ui.trackEditorCursor\n',
    '2024-12-27T07:37:21.125Z websocket received method call: trackEditorCursor\n',
    '2024-12-27T07:37:21.125Z websocket received message ui.trackStatus\n',
    '2024-12-27T07:37:21.125Z websocket received method call: trackStatus\n',
    '2024-12-27T07:37:21.139Z workers Started run worker instance (delayed) #0\n',
    '2024-12-27T07:37:21.139Z nodeRunner Prepared sandbox [worker #0, session #ukheq]\n',
    '2024-12-27T07:37:21.139Z workers [worker #0, session #ukheq] Running tests in sandbox\n',
    '2024-12-27T07:37:21.168Z websocket received message ui.trackProjectConfig\n',
    '2024-12-27T07:37:21.168Z websocket received method call: trackProjectConfig\n',
    '2024-12-27T07:37:21.169Z websocket received message ui.trackStatus\n',
    '2024-12-27T07:37:21.169Z websocket received method call: trackStatus\n',
    '2024-12-27T07:37:21.169Z websocket received message ui.trackStatus\n',
    '2024-12-27T07:37:21.169Z websocket received method call: trackStatus\n',
    '2024-12-27T07:37:21.169Z websocket received message ui.trackTestRun\n',
    '2024-12-27T07:37:21.169Z websocket received method call: trackTestRun\n',
    '2024-12-27T07:37:21.169Z websocket received message ui.handshake\n',
    '2024-12-27T07:37:21.169Z websocket received method call: handshake\n',
    '2024-12-27T07:37:21.169Z websocket received message ui.trackEditorCursor\n',
    '2024-12-27T07:37:21.169Z websocket received method call: trackEditorCursor\n',
    '2024-12-27T07:37:21.169Z websocket received message ui.trackStatus\n',
    '2024-12-27T07:37:21.169Z websocket received method call: trackStatus\n',
    '2024-12-27T07:37:21.321Z websocket received message ui.trackDiagnosticMessages\n',
    '2024-12-27T07:37:21.321Z websocket received method call: trackDiagnosticMessages\n',
    "2024-12-27T07:37:21.417Z workers 'Range mismatch (fileId: 4, calculated: 0, actual: 2)'\n",
    "2024-12-27T07:37:21.439Z workers 'Scheduling Vitest Run (ukheq): 2024-12-27T07:37:21.438Z'\n",
    '2024-12-27T07:37:21.786Z workers [ukheq.1] Loaded unknown number of test(s)\n',
    '2024-12-27T07:37:21.789Z workers [ukheq.1] Test executed: should pass\n',
    "2024-12-27T07:37:22.276Z workers 'Vitest Run Complete (ukheq): 2024-12-27T07:37:22.275Z'\n",
    '2024-12-27T07:37:22.276Z workers [ukheq] Run 1 test(s), skipped 0 test(s)\n',
    '2024-12-27T07:37:22.276Z workers [ukheq] Sandbox is responsive, closing it\n',
    '2024-12-27T07:37:22.277Z project Test run finished\n',
    '2024-12-27T07:37:22.278Z project Processed console.log entries\n',
    '2024-12-27T07:37:22.278Z project Processed loading sequences\n',
    '2024-12-27T07:37:22.278Z project Processed executed tests\n',
    '2024-12-27T07:37:22.278Z project Processed code coverage\n',
    '2024-12-27T07:37:22.283Z project Test run result processed and sent to IDE\n',
    '2024-12-27T07:37:22.283Z websocket received message ui.untrackStats\n',
    '2024-12-27T07:37:22.283Z websocket received method call: untrackStats\n',
    '2024-12-27T07:37:22.283Z websocket received message ui.untrackStartupEvents\n',
    '2024-12-27T07:37:22.283Z websocket received method call: untrackStartupEvents\n',
    '2024-12-27T07:37:22.283Z websocket received message ui.untrackTestRun\n',
    '2024-12-27T07:37:22.283Z websocket received method call: untrackTestRun\n',
    '2024-12-27T07:37:22.287Z fs No metadata for added file found: node_modules/.vite/vitest/results.json\n',
    '2024-12-27T07:37:22.290Z websocket received message ui.trackStats\n',
    '2024-12-27T07:37:22.290Z websocket received method call: trackStats\n',
    '2024-12-27T07:37:22.290Z websocket received message ui.trackStatus\n',
    '2024-12-27T07:37:22.290Z websocket received method call: trackStatus\n',
    '2024-12-27T07:37:22.290Z websocket received message ui.trackTestRun\n',
    '2024-12-27T07:37:22.290Z websocket received method call: trackTestRun\n'
  ]
}
@smcenlly
Copy link
Member

Wallaby does not yet support vitest browser-based testing. You can subscribe to this issue for updates: #3282.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants