wallabyjs / public

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

nuxt auto-imports not working #3390

Closed jrutila closed 1 month ago

jrutila commented 1 month ago

Issue description or question

I am trying to create a unit test for my Nuxt component with vitest. The component refers to auto imported functions, like storeToRefs. Running vitest from cli the test works.

The component script setup starts like this:

<script setup lang="ts">
import { useEditorStore } from "~/store/editor"
const editorStore = useEditorStore()

const { meta } = storeToRefs(editorStore)

And the error is:

‌1 failing test, 152 passing  ​Launch Coverage & Test Explorer​ | ​Search Tests​

  ​​​​<NEditorSlideoverSync> can mount some component​​​​ ​​​[0 ms]​​​​​ Debug test​ |​ Open test story​
     
    storeToRefs is not defined 
      ​​​​​at setup ​​​​​​components/NEditor/Slideover/NEditorSlideoverSync.vue:46:1​

This sounds like #3318 but I have the latest core (1.0.1591). I tried to reset the cache, but it didn't work.

Wallaby diagnostics report

{
  editorVersion: '1.92.0',
  pluginVersion: '1.0.381',
  editorType: 'VSCode',
  osVersion: 'win32 10.0.22631',
  nodeVersion: 'v18.20.4',
  coreVersion: '1.0.1591',
  pnp: '<not set>',
  pnpEsm: '<not set>',
  checksum: 'OTJkYzg2NDkxOTQ3MTM0ZThiZWI0MWQ4ZTE0OTIzZjYsMTc1NDQzODQwMDAwMCww',
  config: {
    diagnostics: {
      vitest: {
        file: {
          config: 'import { defineVitestConfig } from "@nuxt/test-utils/config"\r\n' +
            '\r\n' +
            'export default defineVitestConfig({\r\n' +
            '  test: {\r\n' +
            '    environment: "nuxt",\r\n' +
            '    // any custom Vitest config you require\r\n' +
            '    environmentOptions: {\r\n' +
            '      nuxt: {\r\n' +
            '        overrides: {\r\n' +
            '          //       // other Nuxt config you want to pass\r\n' +
            '          runtimeConfig: {\r\n' +
            '            nghBaseUrlNoCache: "https://nghBaseNoCache.com",\r\n' +
            '            public: {\r\n' +
            '              nghBaseUrl: "https://nghBase.com",\r\n' +
            '              uhsBaseUrl: "https://uhsBase.com",\r\n' +
            '            },\r\n' +
            '          },\r\n' +
            '          gtm: {\r\n' +
            '            id: "GTM-FALSE",\r\n' +
            '            enabled: false,\r\n' +
            '          },\r\n' +
            '          storyblok: {\r\n' +
            '            accessToken: "NGH_TEST_TOKEN",\r\n' +
            '            apiOptions: {\r\n' +
            '              endpoint: "https://ngh-test-storyblok.com",\r\n' +
            '            },\r\n' +
            '          },\r\n' +
            '        },\r\n' +
            '      },\r\n' +
            '    },\r\n' +
            '  },\r\n' +
            '})\r\n'
        },
        config: {
          config: {
            allowOnly: true,
            isolate: true,
            watch: true,
            globals: false,
            environment: 'nuxt',
            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.*/**',
              'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+test-utils@3.14.0_@testing-library+vue@8.1.0_@vue+compiler-sfc@3.4.34_vue@3.4.34_typesc_anz4n3drgzrha2nhnlkclbtpzq/node_modules/@nuxt/test-utils/dist/runtime/entry'
            ],
            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}',
                '../node_modules/.pnpm/@nuxt+test-utils@3.14.0_@testing-library+vue@8.1.0_@vue+compiler-sfc@3.4.34_vue@3.4.34_typesc_anz4n3drgzrha2nhnlkclbtpzq/node_modules/@nuxt/test-utils/dist/runtime/entry'
              ],
              reportOnFailure: false,
              reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ],
              extension: [
                '.js',     '.cjs',
                '.mjs',    '.ts',
                '.mts',    '.tsx',
                '.jsx',    '.vue',
                '.svelte', '.marko'
              ],
              allowExternal: false,
              ignoreEmptyLines: true,
              processingConcurrency: 14
            },
            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,
            environmentOptions: {
              nuxt: {
                rootId: '__nuxt',
                mock: { intersectionObserver: true, indexedDb: false },
                overrides: {
                  runtimeConfig: { nghBaseUrlNoCache: 'https://nghBaseNoCache.com', public: { nghBaseUrl: 'https://nghBase.com', uhsBaseUrl: 'https://uhsBase.com' } },
                  gtm: { id: 'GTM-FALSE', enabled: false },
                  storyblok: { accessToken: 'NGH_TEST_TOKEN', apiOptions: { endpoint: 'https://ngh-test-storyblok.com' } }
                }
              },
              nuxtRuntimeConfig: {
                public: {
                  nghBaseUrl: 'https://nghBase.com',
                  nghVersion: 'local',
                  searchBaseUrl: 'https://ngh-prod-search.search.windows.net/indexes/guide-index/docs?api-version=2020-06-30&api-key=1DF990E901ACEB38232D5DEEB9476E22',
                  gameSearchBaseUrl: 'https://ngh-prod-search.search.windows.net/indexes/game-index/docs?api-version=2020-06-30&api-key=1DF990E901ACEB38232D5DEEB9476E22',
                  tableBaseUrl: 'https://nghundefinedmaina.table.core.windows.net/',
                  tableAccessToken: '',
                  nicceBaseUrl: 'https://nghundefinedmaina.blob.core.windows.net/nicce/',
                  nicceUploadUrl: 'https://nghundefinedmaina.queue.core.windows.net/nicce-question/',
                  uhsBaseUrl: 'https://uhsBase.com',
                  uhsUploadUrl: 'https://nghundefinedmaina.blob.core.windows.net/uhs-upload/',
                  editUploadUrl: 'https://nghundefinedmaina.blob.core.windows.net/edit-upload/',
                  gogApiUrl: 'https://ngh-undefined-apim.azure-api.net/gog/',
                  githubClientId: 'Iv1.950f9a75d005582a',
                  uhsUploadAccessToken: '',
                  editUploadAccessToken: '',
                  nicceUploadAccessToken: '',
                  gtmToken: 'GTM-FALSE',
                  reviveId: '',
                  storyblokApiDefaults: { version: 'published' },
                  recaptchaSiteKey: '',
                  gameFetchDelay: 2000,
                  persistedState: { storage: 'localStorage', debug: false, cookieOptions: {} },
                  gtm: { devtools: true, id: 'GTM-FALSE', queryParams: { gtm_cookies_win: 'x' }, enabled: false, enableRouterSync: true, trackOnNextTick: true },
                  i18n: { baseUrl: '', locales: { en: {}, fi: {} } },
                  storyblok: {
                    accessToken: 'NGH_TEST_TOKEN',
                    enableSudoMode: false,
                    usePlugin: true,
                    bridge: false,
                    devtools: false,
                    componentsDir: '~/storyblok',
                    apiOptions: { endpoint: 'https://ngh-test-storyblok.com', version: 'published', cache: { type: 'none' } }
                  }
                },
                app: { buildId: 'test', baseURL: '/', buildAssetsDir: '/_nuxt/', cdnURL: '' },
                nghBaseUrlNoCache: 'https://nghBaseNoCache.com',
                nitro: { envPrefix: 'NUXT_' },
                icon: { serverKnownCssClasses: [] },
                'nuxt-site-config': {
                  stack: [
                    { _context: 'system', _priority: -15, name: 'nghnuxt3', env: 'test' },
                    { _context: 'package.json', _priority: -10, name: 'nuxt-app' },
                    { _context: '@nuxtjs/i18n', defaultLocale: 'en' }
                  ],
                  version: '2.2.15',
                  debug: true
                },
                'nuxt-robots': {
                  version: '4.0.2',
                  usingNuxtContent: false,
                  debug: false,
                  credits: true,
                  groups: [ { userAgent: [ '*' ], disallow: [ '' ], allow: [] } ],
                  sitemap: [],
                  robotsEnabledValue: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1',
                  robotsDisabledValue: 'noindex, nofollow',
                  cacheControl: 'max-age=14400, must-revalidate'
                },
                'nuxt-simple-robots': {
                  version: '4.0.2',
                  usingNuxtContent: false,
                  debug: false,
                  credits: true,
                  groups: [ { userAgent: [ '*' ], disallow: [ '' ], allow: [] } ],
                  sitemap: [],
                  robotsEnabledValue: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1',
                  robotsDisabledValue: 'noindex, nofollow',
                  cacheControl: 'max-age=14400, must-revalidate'
                }
              },
              nuxtRouteRules: { '/edit/**': { ssr: false, headers: { 'X-Robots-Tag': 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' } } }
            },
            dir: 'C:\\Users\\User\\devel\\ngh\\project\\nghnuxt3',
            environmentMatchGlobs: [
              [ 'C:/Users/User/devel/ngh/project/nghnuxt3/**/*.nuxt.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}', 'nuxt' ],
              [ 'C:/Users/User/devel/ngh/project/nghnuxt3/{test,tests}/nuxt/**.*', 'nuxt' ]
            ],
            server: {
              deps: {
                inline: [
                  {},
                  {},
                  '@nuxt/test-utils',
                  '@nuxt/test-utils-nightly',
                  '@nuxt/test-utils-edge',
                  'vitest-environment-nuxt',
                  'std-env',
                  'nuxt/app',
                  '@nuxt/ui-pro',
                  '@nuxt/ui-pro/modules/pro',
                  '@nuxt/test-utils/module',
                  '@nuxt/ui/dist/runtime',
                  '@popperjs/core',
                  '@headlessui/vue',
                  '@nuxt/icon',
                  '@nuxtjs/color-mode/dist/runtime',
                  '@nuxtjs/color-mode',
                  '@nuxtjs/tailwindcss',
                  '@nuxt/ui',
                  '@pinia/nuxt/dist/runtime',
                  '@pinia/nuxt',
                  '@pinia-plugin-persistedstate/nuxt/dist/runtime',
                  '@pinia-plugin-persistedstate/nuxt',
                  '@zadigetvoltaire/nuxt-gtm',
                  'site-config-stack',
                  'nuxt-site-config/dist',
                  '@nuxtjs/robots',
                  'vue-i18n',
                  '@intlify/shared',
                  '@intlify/message-compiler',
                  '@intlify/core-base',
                  '@intlify/core',
                  '@intlify/utils/h3',
                  'ufo',
                  'is-https',
                  '#i18n',
                  '@nuxtjs/i18n',
                  '@nuxtjs/i18n-edge',
                  '@nuxtjs/i18n',
                  '@nuxt/image/dist/runtime',
                  '@nuxt/image',
                  '@storyblok/nuxt/dist/runtime',
                  '@storyblok/nuxt',
                  '@storyblok/vue',
                  '@storyblok/nuxt',
                  '@nuxt/eslint',
                  '@unhead/vue',
                  '@nuxt/telemetry',
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui-pro@1.4.0_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@typ_2epys4bmxxjqxej3wxba5xeu7i/node_modules/@nuxt/ui-pro/components',
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/elements',
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/forms',
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/data',
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/layout',
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/navigation',
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/overlays',
                  {},
                  {},
                  {}
                ],
                moduleDirectories: [ '/node_modules/' ],
                cacheDir: 'node_modules/.cache/vite/client'
              }
            },
            deps: {
              optimizer: { web: { enabled: false }, ssr: { enabled: true } },
              moduleDirectories: [ '/node_modules/' ],
              web: { transformAssets: true, transformCss: true, transformGlobPattern: [] }
            },
            setupFiles: [
              'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+test-utils@3.14.0_@testing-library+vue@8.1.0_@vue+compiler-sfc@3.4.34_vue@3.4.34_typesc_anz4n3drgzrha2nhnlkclbtpzq/node_modules/@nuxt/test-utils/dist/runtime/entry'
            ],
            poolOptions: { threads: {}, forks: {} },
            config: 'C:\\Users\\User\\devel\\ngh\\project\\nghnuxt3\\vitest.config.ts',
            defines: {
              __NUXT_VERSION__: '3.12.4',
              __NUXT_ASYNC_CONTEXT__: false,
              __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: true,
              __DEBUG__: false,
              __VUE_I18N_LEGACY_API__: false,
              __VUE_I18N_FULL_INSTALL__: true,
              __INTLIFY_JIT_COMPILATION__: true,
              __INTLIFY_DROP_MESSAGE_COMPILER__: false,
              __VUE_I18N_PROD_DEVTOOLS__: false
            },
            root: 'C:/Users/User/devel/ngh/project/nghnuxt3',
            mode: 'test',
            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 }, api: { port: 63315 } },
            fileParallelism: true,
            expect: {},
            snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
            snapshotSerializers: [],
            poolMatchGlobs: [],
            globalSetup: [],
            cache: { dir: 'C:/Users/User/devel/ngh/project/nghnuxt3/node_modules/.cache/vite/client/vitest' },
            sequence: { hooks: 'stack' },
            testTransformMode: {},
            testTimeout: 5000,
            hookTimeout: 10000
          },
          projects: [
            {
              path: 'C:/Users/User/devel/ngh/project/nghnuxt3',
              config: {
                allowOnly: true,
                isolate: true,
                watch: true,
                globals: false,
                environment: 'nuxt',
                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.*/**',
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+test-utils@3.14.0_@testing-library+vue@8.1.0_@vue+compiler-sfc@3.4.34_vue@3.4.34_typesc_anz4n3drgzrha2nhnlkclbtpzq/node_modules/@nuxt/test-utils/dist/runtime/entry'
                ],
                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}',
                    '../node_modules/.pnpm/@nuxt+test-utils@3.14.0_@testing-library+vue@8.1.0_@vue+compiler-sfc@3.4.34_vue@3.4.34_typesc_anz4n3drgzrha2nhnlkclbtpzq/node_modules/@nuxt/test-utils/dist/runtime/entry'
                  ],
                  reportOnFailure: false,
                  reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ],
                  extension: [
                    '.js',     '.cjs',
                    '.mjs',    '.ts',
                    '.mts',    '.tsx',
                    '.jsx',    '.vue',
                    '.svelte', '.marko'
                  ],
                  allowExternal: false,
                  ignoreEmptyLines: true,
                  processingConcurrency: 14
                },
                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,
                environmentOptions: {
                  nuxt: {
                    rootId: '__nuxt',
                    mock: { intersectionObserver: true, indexedDb: false },
                    overrides: {
                      runtimeConfig: { nghBaseUrlNoCache: 'https://nghBaseNoCache.com', public: { nghBaseUrl: 'https://nghBase.com', uhsBaseUrl: 'https://uhsBase.com' } },
                      gtm: { id: 'GTM-FALSE', enabled: false },
                      storyblok: { accessToken: 'NGH_TEST_TOKEN', apiOptions: { endpoint: 'https://ngh-test-storyblok.com' } }
                    }
                  },
                  nuxtRuntimeConfig: {
                    public: {
                      nghBaseUrl: 'https://nghBase.com',
                      nghVersion: 'local',
                      searchBaseUrl: 'https://ngh-prod-search.search.windows.net/indexes/guide-index/docs?api-version=2020-06-30&api-key=1DF990E901ACEB38232D5DEEB9476E22',
                      gameSearchBaseUrl: 'https://ngh-prod-search.search.windows.net/indexes/game-index/docs?api-version=2020-06-30&api-key=1DF990E901ACEB38232D5DEEB9476E22',
                      tableBaseUrl: 'https://nghundefinedmaina.table.core.windows.net/',
                      tableAccessToken: '',
                      nicceBaseUrl: 'https://nghundefinedmaina.blob.core.windows.net/nicce/',
                      nicceUploadUrl: 'https://nghundefinedmaina.queue.core.windows.net/nicce-question/',
                      uhsBaseUrl: 'https://uhsBase.com',
                      uhsUploadUrl: 'https://nghundefinedmaina.blob.core.windows.net/uhs-upload/',
                      editUploadUrl: 'https://nghundefinedmaina.blob.core.windows.net/edit-upload/',
                      gogApiUrl: 'https://ngh-undefined-apim.azure-api.net/gog/',
                      githubClientId: 'Iv1.950f9a75d005582a',
                      uhsUploadAccessToken: '',
                      editUploadAccessToken: '',
                      nicceUploadAccessToken: '',
                      gtmToken: 'GTM-FALSE',
                      reviveId: '',
                      storyblokApiDefaults: { version: 'published' },
                      recaptchaSiteKey: '',
                      gameFetchDelay: 2000,
                      persistedState: { storage: 'localStorage', debug: false, cookieOptions: {} },
                      gtm: { devtools: true, id: 'GTM-FALSE', queryParams: { gtm_cookies_win: 'x' }, enabled: false, enableRouterSync: true, trackOnNextTick: true },
                      i18n: { baseUrl: '', locales: { en: {}, fi: {} } },
                      storyblok: {
                        accessToken: 'NGH_TEST_TOKEN',
                        enableSudoMode: false,
                        usePlugin: true,
                        bridge: false,
                        devtools: false,
                        componentsDir: '~/storyblok',
                        apiOptions: { endpoint: 'https://ngh-test-storyblok.com', version: 'published', cache: { type: 'none' } }
                      }
                    },
                    app: { buildId: 'test', baseURL: '/', buildAssetsDir: '/_nuxt/', cdnURL: '' },
                    nghBaseUrlNoCache: 'https://nghBaseNoCache.com',
                    nitro: { envPrefix: 'NUXT_' },
                    icon: { serverKnownCssClasses: [] },
                    'nuxt-site-config': {
                      stack: [
                        { _context: 'system', _priority: -15, name: 'nghnuxt3', env: 'test' },
                        { _context: 'package.json', _priority: -10, name: 'nuxt-app' },
                        { _context: '@nuxtjs/i18n', defaultLocale: 'en' }
                      ],
                      version: '2.2.15',
                      debug: true
                    },
                    'nuxt-robots': {
                      version: '4.0.2',
                      usingNuxtContent: false,
                      debug: false,
                      credits: true,
                      groups: [ { userAgent: [ '*' ], disallow: [ '' ], allow: [] } ],
                      sitemap: [],
                      robotsEnabledValue: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1',
                      robotsDisabledValue: 'noindex, nofollow',
                      cacheControl: 'max-age=14400, must-revalidate'
                    },
                    'nuxt-simple-robots': {
                      version: '4.0.2',
                      usingNuxtContent: false,
                      debug: false,
                      credits: true,
                      groups: [ { userAgent: [ '*' ], disallow: [ '' ], allow: [] } ],
                      sitemap: [],
                      robotsEnabledValue: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1',
                      robotsDisabledValue: 'noindex, nofollow',
                      cacheControl: 'max-age=14400, must-revalidate'
                    }
                  },
                  nuxtRouteRules: { '/edit/**': { ssr: false, headers: { 'X-Robots-Tag': 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' } } }
                },
                dir: 'C:\\Users\\User\\devel\\ngh\\project\\nghnuxt3',
                environmentMatchGlobs: [
                  [ 'C:/Users/User/devel/ngh/project/nghnuxt3/**/*.nuxt.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}', 'nuxt' ],
                  [ 'C:/Users/User/devel/ngh/project/nghnuxt3/{test,tests}/nuxt/**.*', 'nuxt' ]
                ],
                server: {
                  deps: {
                    inline: [
                      {},
                      {},
                      '@nuxt/test-utils',
                      '@nuxt/test-utils-nightly',
                      '@nuxt/test-utils-edge',
                      'vitest-environment-nuxt',
                      'std-env',
                      'nuxt/app',
                      '@nuxt/ui-pro',
                      '@nuxt/ui-pro/modules/pro',
                      '@nuxt/test-utils/module',
                      '@nuxt/ui/dist/runtime',
                      '@popperjs/core',
                      '@headlessui/vue',
                      '@nuxt/icon',
                      '@nuxtjs/color-mode/dist/runtime',
                      '@nuxtjs/color-mode',
                      '@nuxtjs/tailwindcss',
                      '@nuxt/ui',
                      '@pinia/nuxt/dist/runtime',
                      '@pinia/nuxt',
                      '@pinia-plugin-persistedstate/nuxt/dist/runtime',
                      '@pinia-plugin-persistedstate/nuxt',
                      '@zadigetvoltaire/nuxt-gtm',
                      'site-config-stack',
                      'nuxt-site-config/dist',
                      '@nuxtjs/robots',
                      'vue-i18n',
                      '@intlify/shared',
                      '@intlify/message-compiler',
                      '@intlify/core-base',
                      '@intlify/core',
                      '@intlify/utils/h3',
                      'ufo',
                      'is-https',
                      '#i18n',
                      '@nuxtjs/i18n',
                      '@nuxtjs/i18n-edge',
                      '@nuxtjs/i18n',
                      '@nuxt/image/dist/runtime',
                      '@nuxt/image',
                      '@storyblok/nuxt/dist/runtime',
                      '@storyblok/nuxt',
                      '@storyblok/vue',
                      '@storyblok/nuxt',
                      '@nuxt/eslint',
                      '@unhead/vue',
                      '@nuxt/telemetry',
                      'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui-pro@1.4.0_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@typ_2epys4bmxxjqxej3wxba5xeu7i/node_modules/@nuxt/ui-pro/components',
                      'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/elements',
                      'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/forms',
                      'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/data',
                      'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/layout',
                      'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/navigation',
                      'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+ui@2.18.3_axios@1.7.3_change-case@5.4.4_magicast@0.3.4_rollup@4.19.2_vite@5.3.5_@types+_fkw7zin7mstfj2ujqbns5b44qq/node_modules/@nuxt/ui/dist/runtime/components/overlays',
                      {},
                      {},
                      {}
                    ],
                    moduleDirectories: [ '/node_modules/' ],
                    cacheDir: 'node_modules/.cache/vite/client'
                  }
                },
                deps: {
                  optimizer: { web: { enabled: false }, ssr: { enabled: true } },
                  moduleDirectories: [ '/node_modules/' ],
                  web: { transformAssets: true, transformCss: true, transformGlobPattern: [] }
                },
                setupFiles: [
                  'C:/Users/User/devel/ngh/project/node_modules/.pnpm/@nuxt+test-utils@3.14.0_@testing-library+vue@8.1.0_@vue+compiler-sfc@3.4.34_vue@3.4.34_typesc_anz4n3drgzrha2nhnlkclbtpzq/node_modules/@nuxt/test-utils/dist/runtime/entry'
                ],
                poolOptions: { threads: {}, forks: {} },
                config: 'C:\\Users\\User\\devel\\ngh\\project\\nghnuxt3\\vitest.config.ts',
                defines: {
                  __NUXT_VERSION__: '3.12.4',
                  __NUXT_ASYNC_CONTEXT__: false,
                  __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: true,
                  __DEBUG__: false,
                  __VUE_I18N_LEGACY_API__: false,
                  __VUE_I18N_FULL_INSTALL__: true,
                  __INTLIFY_JIT_COMPILATION__: true,
                  __INTLIFY_DROP_MESSAGE_COMPILER__: false,
                  __VUE_I18N_PROD_DEVTOOLS__: false
                },
                root: 'C:/Users/User/devel/ngh/project/nghnuxt3',
                mode: 'test',
                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 }, api: { port: 63315 } },
                fileParallelism: true,
                expect: {},
                snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
                snapshotSerializers: [],
                poolMatchGlobs: [],
                globalSetup: [],
                cache: { dir: 'C:/Users/User/devel/ngh/project/nghnuxt3/node_modules/.cache/vite/client/vitest' },
                sequence: { hooks: 'stack' },
                testTransformMode: {},
                testTimeout: 5000,
                hookTimeout: 10000
              }
            }
          ],
          package: {
            version: '2.0.5',
            urls: { hooks: 'file:///c:/Users/User/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.381/wallabyfc1091/runners/node/hooks.mjs' },
            paths: {
              root: 'C:\\Users\\User\\devel\\ngh\\project\\node_modules\\.pnpm\\vitest@2.0.5_@types+node@20.14.14_happy-dom@14.12.3_terser@5.31.3\\node_modules\\vitest',
              dist: 'C:\\Users\\User\\devel\\ngh\\project\\node_modules\\.pnpm\\vitest@2.0.5_@types+node@20.14.14_happy-dom@14.12.3_terser@5.31.3\\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: '**/*.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: '**\\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,
    maxTraceSteps: 999999,
    maxTraceStepsForWatchExpressionPrefetch: 0,
    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: '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: true,
    configCode: 'auto.detect#1734400718'
  },
  packageJSON: {
    dependencies: {
      '@formkit/auto-animate': '^0.8.2',
      '@iconify-json/heroicons': '^1.1.24',
      '@iconify-json/heroicons-outline': '^1.1.11',
      '@iconify-json/heroicons-solid': '^1.1.12',
      '@iconify-json/mdi': '^1.1.68',
      '@nuxt/image': '^1.7.0',
      '@nuxt/ui': '^2.17.0',
      '@nuxt/ui-pro': '^1.3.1',
      '@nuxtjs/i18n': '8.1.0',
      '@nuxtjs/robots': '^4.0.2',
      '@pinia-plugin-persistedstate/nuxt': '^1.2.1',
      '@pinia/nuxt': '^0.5.2',
      '@storyblok/nuxt': '^6.0.10',
      '@types/markdown-it': '^14.1.2',
      '@vitejs/plugin-vue': '^5.1.1',
      '@vueuse/core': '^10.11.0',
      '@zadigetvoltaire/nuxt-gtm': '^0.0.13',
      '@zip.js/zip.js': '^2.7.47',
      'change-case': '^5.4.4',
      consola: '^3.2.3',
      'crypto-js': '^4.2.0',
      csv: '^6.3.10',
      'js-yaml': '^4.1.0',
      'markdown-it': '^14.1.0',
      'markdown-it-footnote': '^4.0.0',
      'markdown-it-plain-text': '^0.3.0',
      'markdown-it-sup': '^2.0.0',
      'markdown-it-video': 'https://github.com/jrutila/markdown-it-video/tarball/master',
      'markdown-it-when': '^1.0.2',
      ngh: 'workspace:^',
      octokit: '^4.0.2',
      pinia: '^2.2.0',
      'pinia-plugin-persistedstate': '^3.2.1',
      txml: '^5.1.1',
      typescript: '^5.5.4',
      'vue-recaptcha-v3': '^2.0.1',
      yup: '^1.4.0'
    },
    devDependencies: {
      '@babel/preset-env': '^7.25.0',
      '@babel/preset-typescript': '^7.24.7',
      '@mocks-server/cypress-commands': '^6.1.1',
      '@mocks-server/main': '^4.1.0',
      '@nuxt/eslint': '^0.4.0',
      '@nuxt/eslint-config': '^0.4.0',
      '@nuxt/test-utils': '^3.14.0',
      '@nuxtjs/seo': '2.0.0-rc.16',
      '@pinia/testing': '^0.1.4',
      '@testing-library/vue': '^8.1.0',
      '@vue/test-utils': '^2.4.6',
      cheerio: '1.0.0-rc.12',
      concurrently: '~8.2.2',
      'cross-env': '^7.0.3',
      cypress: '^13.13.1',
      'cypress-failed-log': '^2.10.0',
      'cypress-localstorage-commands': '^2.2.6',
      'cypress-multi-reporters': '^1.6.4',
      eslint: '^9.8.0',
      'eslint-import-resolver-typescript': '^3.6.1',
      'eslint-plugin-no-only-tests': '^3.1.0',
      'eslint-plugin-vue': '^9.27.0',
      'happy-dom': '^14.12.3',
      'html-differ': '^1.4.0',
      jstoxml: '^5.0.2',
      'mocha-junit-reporter': '^2.2.1',
      nuxi: '^3.12.0',
      nuxt: '^3.12.4',
      prettier: '~3.3.3',
      'start-server-and-test': '^2.0.5',
      'vite-tsconfig-paths': '~4.3.2',
      vitest: '^2.0.4',
      'vitest-environment-nuxt': '^1.0.0',
      'xml-js': '^1.6.11'
    }
  },
  fs: { numberOfFiles: 272 },
  debug: [
    '2024-08-08T18:35:47.040Z project waiting for initial run signal\n',
    '2024-08-08T18:35:47.068Z model Initialization Completed: 217ms\n',
    '2024-08-08T18:35:47.072Z config Attempting automatic configuration for vitest\n',
    '2024-08-08T18:35:47.074Z vitest/config Detected Vitest (2.0.5).\n',
    '2024-08-08T18:35:57.609Z config Finished attempting automatic configuration for vitest (10537ms)\n',
    '2024-08-08T18:35:57.610Z project Wallaby Node version: v18.20.4\n',
    '2024-08-08T18:35:57.610Z project Wallaby config: C:\\Users\\User\\devel\\ngh\\project\\nghnuxt3\\auto.detect\n',
    '2024-08-08T18:35:57.614Z fs File system starting\n',
    '2024-08-08T18:35:57.794Z fs File system scan completed\n',
    '2024-08-08T18:35:57.806Z project File cache: C:\\Users\\User\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.381\\projects\\0b05e3dfb8a61f06\n',
    '2024-08-08T18:35:57.936Z ui.service.legacy Listening port 51235\n',
    '2024-08-08T18:35:57.944Z project package.json file change detected, invalidating local cache\n',
    '2024-08-08T18:35:57.952Z workers Parallelism for initial run: 1, for regular run: 1\n',
    '2024-08-08T18:35:57.952Z workers Starting run worker instance #0\n',
    '2024-08-08T18:35:57.953Z workers Web server is listening at 55446\n',
    '2024-08-08T18:35:57.953Z project File cache requires some updates, waiting required files from IDE\n',
    '2024-08-08T18:35:58.157Z workers Started run worker instance (delayed) #0\n',
    '2024-08-08T18:35:58.196Z project Stopping process pool\n',
    '2024-08-08T18:35:58.200Z project Test run started; run priority: 3\n',
    '2024-08-08T18:35:58.201Z project Running all tests\n',
    '2024-08-08T18:35:58.225Z workers Starting test run, priority: 3\n',
    '2024-08-08T18:35:58.226Z nodeRunner Starting sandbox [worker #0, session #mwbnk]\n',
    '2024-08-08T18:35:58.226Z nodeRunner Preparing sandbox [worker #0, session #mwbnk]\n',
    '2024-08-08T18:35:58.226Z nodeRunner Prepared sandbox [worker #0, session #mwbnk]\n',
    '2024-08-08T18:35:58.226Z workers [worker #0, session #mwbnk] Running tests in sandbox\n',
    '2024-08-08T18:36:06.733Z fs File changed: .nuxt/types/app.config.d.ts\n',
    '2024-08-08T18:36:06.734Z fs File changed: .nuxt/app.config.mjs\n',
    '2024-08-08T18:36:06.743Z fs File changed: .nuxt/types/app-defaults.d.ts\n',
    '2024-08-08T18:36:06.743Z fs File changed: .nuxt/types/build.d.ts\n',
    '2024-08-08T18:36:06.743Z fs File changed: .nuxt/types/nitro-nuxt.d.ts\n',
    '2024-08-08T18:36:06.743Z fs File changed: .nuxt/types/vue-shim.d.ts\n',
    '2024-08-08T18:36:06.743Z fs File changed: .nuxt/ui.colors.mjs\n',
    '2024-08-08T18:36:06.743Z fs File changed: .nuxt/ui.colors.d.ts\n',
    '2024-08-08T18:36:06.757Z fs File changed: .nuxt/nuxtui-tailwind.config.cjs\n',
    '2024-08-08T18:36:06.760Z fs File changed: .nuxt/tailwind.config/index.mjs\n',
    '2024-08-08T18:36:06.760Z fs File changed: .nuxt/types/i18n-plugin.d.ts\n',
    '2024-08-08T18:36:06.760Z fs File changed: .nuxt/types/middleware.d.ts\n',
    '2024-08-08T18:36:06.760Z fs File changed: .nuxt/types/layouts.d.ts\n',
    '2024-08-08T18:36:06.760Z fs File changed: .nuxt/i18n.options.mjs\n',
    '2024-08-08T18:36:06.760Z fs File changed: .nuxt/components.d.ts\n',
    '2024-08-08T18:36:06.760Z fs File changed: .nuxt/tailwind.config.cjs\n',
    '2024-08-08T18:36:06.773Z fs File changed: .nuxt/module/nuxt-site-config.d.ts\n',
    '2024-08-08T18:36:06.774Z fs File changed: .nuxt/types/tailwind.config.d.ts\n',
    '2024-08-08T18:36:06.774Z fs File changed: .nuxt/types/schema.d.ts\n',
    '2024-08-08T18:36:06.774Z fs File changed: .nuxt/types/imports.d.ts\n',
    '2024-08-08T18:36:06.774Z fs File changed: .nuxt/types/plugins.d.ts\n',
    '2024-08-08T18:36:06.774Z fs File changed: .nuxt/nuxt-icon-server-bundle.mjs\n',
    '2024-08-08T18:36:06.774Z fs File changed: .nuxt/imports.d.ts\n',
    '2024-08-08T18:36:06.774Z fs File changed: .nuxt/nuxt-icon-client-bundle.mjs\n',
    '2024-08-08T18:36:06.778Z fs File changed: .nuxt/module/nuxt-robots.d.ts\n',
    '2024-08-08T18:36:06.786Z fs No changes detected for .nuxt/app.config.mjs\n',
    '2024-08-08T18:36:06.786Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.787Z fs No changes detected for .nuxt/types/app.config.d.ts\n',
    '2024-08-08T18:36:06.787Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.787Z fs No changes detected for .nuxt/types/build.d.ts\n',
    '2024-08-08T18:36:06.788Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.788Z fs No changes detected for .nuxt/types/vue-shim.d.ts\n',
    '2024-08-08T18:36:06.788Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.788Z fs No changes detected for .nuxt/types/app-defaults.d.ts\n',
    '2024-08-08T18:36:06.788Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.788Z fs No changes detected for .nuxt/types/nitro-nuxt.d.ts\n',
    '2024-08-08T18:36:06.788Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.789Z fs No changes detected for .nuxt/ui.colors.mjs\n',
    '2024-08-08T18:36:06.789Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.789Z fs No changes detected for .nuxt/ui.colors.d.ts\n',
    '2024-08-08T18:36:06.789Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.791Z fs No changes detected for .nuxt/nuxtui-tailwind.config.cjs\n',
    '2024-08-08T18:36:06.791Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.792Z fs No changes detected for .nuxt/types/i18n-plugin.d.ts\n',
    '2024-08-08T18:36:06.792Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.792Z fs No changes detected for .nuxt/tailwind.config/index.mjs\n',
    '2024-08-08T18:36:06.792Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.793Z fs No changes detected for .nuxt/types/layouts.d.ts\n',
    '2024-08-08T18:36:06.793Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.793Z fs No changes detected for .nuxt/i18n.options.mjs\n',
    '2024-08-08T18:36:06.793Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.794Z fs No changes detected for .nuxt/types/middleware.d.ts\n',
    '2024-08-08T18:36:06.794Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.796Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-08-08T18:36:06.797Z fs No changes detected for .nuxt/components.d.ts\n',
    '2024-08-08T18:36:06.797Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.798Z fs No changes detected for .nuxt/types/schema.d.ts\n',
    '2024-08-08T18:36:06.798Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.798Z fs No changes detected for .nuxt/module/nuxt-site-config.d.ts\n',
    '2024-08-08T18:36:06.798Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.799Z fs No changes detected for .nuxt/types/imports.d.ts\n',
    '2024-08-08T18:36:06.799Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.799Z fs No changes detected for .nuxt/imports.d.ts\n',
    '2024-08-08T18:36:06.799Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.799Z fs No changes detected for .nuxt/nuxt-icon-server-bundle.mjs\n',
    '2024-08-08T18:36:06.799Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.800Z fs No changes detected for .nuxt/types/plugins.d.ts\n',
    '2024-08-08T18:36:06.800Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.800Z fs No changes detected for .nuxt/nuxt-icon-client-bundle.mjs\n',
    '2024-08-08T18:36:06.800Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.801Z fs No changes detected for .nuxt/types/tailwind.config.d.ts\n',
    '2024-08-08T18:36:06.801Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-08-08T18:36:06.804Z fs No changes detected for .nuxt/module/nuxt-robots.d.ts\n',
    '2024-08-08T18:36:06.804Z extended-core File was not changed, but file markers may need to be synced\n',
    "2024-08-08T18:36:08.879Z workers 'Scheduling Vitest Run (mwbnk): 2024-08-08T18:36:08.882Z'\n",
    '2024-08-08T18:36:13.538Z workers [mwbnk.4] Loaded unknown number of test(s)\n',
    '2024-08-08T18:36:13.552Z workers [mwbnk.4] Test executed: can be inited\n',
    .... redacted for shorter text ....
    "2024-08-08T18:36:20.889Z workers 'Vitest Run Complete (mwbnk): 2024-08-08T18:36:20.892Z'\n",
    '2024-08-08T18:36:20.890Z workers [mwbnk] Run 153 test(s), skipped 0 test(s)\n',
    '2024-08-08T18:36:20.890Z workers [mwbnk] Sandbox is responsive, closing it\n',
    '2024-08-08T18:36:20.894Z project Test run finished\n',
    '2024-08-08T18:36:20.895Z project Processed console.log entries\n',
    '2024-08-08T18:36:20.895Z project Processed loading sequences\n',
    '2024-08-08T18:36:20.897Z project Test name duplicate: does hint action addHint [ +0 ]\n',
    .... redacted for shorter text ....
    '2024-08-08T18:36:20.898Z project Processed executed tests\n',
    '2024-08-08T18:36:20.911Z project Processed code coverage\n',
    '2024-08-08T18:36:20.963Z project Test run result processed and sent to IDE\n',
    '2024-08-08T18:36:20.969Z project Test run started; run priority: 2\n',
    '2024-08-08T18:36:20.969Z testTask Test files from affected: 0, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-08-08T18:36:20.972Z project Test task priority upgraded to full run\n',
    '2024-08-08T18:36:20.972Z workers Starting test run, priority: 3\n',
    '2024-08-08T18:36:20.972Z nodeRunner Starting sandbox [worker #0, session #0vjo2]\n',
    '2024-08-08T18:36:20.972Z nodeRunner Preparing sandbox [worker #0, session #0vjo2]\n',
    '2024-08-08T18:36:20.972Z nodeRunner Prepared sandbox [worker #0, session #0vjo2]\n',
    '2024-08-08T18:36:20.972Z workers [worker #0, session #0vjo2] Running tests in sandbox\n',
    "2024-08-08T18:36:20.977Z workers 'Scheduling Vitest Run (0vjo2): 2024-08-08T18:36:20.980Z'\n",
    "2024-08-08T18:36:22.093Z workers 'Range mismatch (fileId: 12, calculated: 0, actual: 36)'\n",
    .... redacted for shorter text ....
    '2024-08-08T18:36:28.041Z workers Some long running code has been detected: one of your tests is taking more than 5000ms to execute.\n',
    .... redacted for shorter text ....
    "2024-08-08T18:36:30.171Z workers 'Vitest Run Complete (0vjo2): 2024-08-08T18:36:30.174Z'\n",
    '2024-08-08T18:36:30.172Z workers [0vjo2] Run 153 test(s), skipped 0 test(s)\n',
    '2024-08-08T18:36:30.172Z workers [0vjo2] Sandbox is responsive, closing it\n',
    '2024-08-08T18:36:30.178Z project Test run finished\n',
    '2024-08-08T18:36:30.178Z project Processed console.log entries\n',
    '2024-08-08T18:36:30.178Z project Processed loading sequences\n',
    .... redacted for shorter text ....
    '2024-08-08T18:36:30.179Z project Processed executed tests\n',
    '2024-08-08T18:36:30.185Z project Processed code coverage\n',
    '2024-08-08T18:36:30.226Z project Test run result processed and sent to IDE\n',
    '2024-08-08T18:38:34.316Z fs File changed: .nuxt/types/app.config.d.ts\n',
    '2024-08-08T18:38:34.316Z fs File changed: .nuxt/app.config.mjs\n',
    '2024-08-08T18:38:34.317Z fs File changed: .nuxt/types/app-defaults.d.ts\n',
    '2024-08-08T18:38:34.322Z fs File changed: .nuxt/types/build.d.ts\n',
    '2024-08-08T18:38:34.324Z fs File changed: .nuxt/types/nitro-nuxt.d.ts\n',
    '2024-08-08T18:38:34.324Z fs File changed: .nuxt/types/vue-shim.d.ts\n',
    '2024-08-08T18:38:34.324Z fs File changed: .nuxt/types/i18n-plugin.d.ts\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/types/layouts.d.ts\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/types/middleware.d.ts\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/ui.colors.mjs\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/ui.colors.d.ts\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/nuxtui-tailwind.config.cjs\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/i18n.options.mjs\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/tailwind.config/index.mjs\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/module/nuxt-site-config.d.ts\n',
    '2024-08-08T18:38:34.331Z fs File changed: .nuxt/types/tailwind.config.d.ts\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/types/imports.d.ts\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/types/schema.d.ts\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/components.d.ts\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/tailwind.config.cjs\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/nuxt-icon-server-bundle.mjs\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/imports.d.ts\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/nuxt-icon-client-bundle.mjs\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/module/nuxt-robots.d.ts\n',
    '2024-08-08T18:38:34.339Z fs File changed: .nuxt/types/plugins.d.ts\n',
    '2024-08-08T18:38:34.362Z fs No changes detected for .nuxt/types/app.config.d.ts\n',
    '2024-08-08T18:38:34.363Z extended-core File was not changed, but file markers may need to be synced\n',
    .... redacted for shorter text ....
    '2024-08-08T18:38:34.455Z project Test run started; run priority: 2\n',
    '2024-08-08T18:38:34.455Z testTask Test files from affected: 0, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-08-08T18:38:34.459Z project Test task priority upgraded to full run\n',
    '2024-08-08T18:38:34.459Z workers Starting test run, priority: 3\n',
    '2024-08-08T18:38:34.460Z nodeRunner Starting sandbox [worker #0, session #clivh]\n',
    '2024-08-08T18:38:34.460Z nodeRunner Preparing sandbox [worker #0, session #clivh]\n',
    '2024-08-08T18:38:34.460Z nodeRunner Prepared sandbox [worker #0, session #clivh]\n',
    '2024-08-08T18:38:34.460Z workers [worker #0, session #clivh] Running tests in sandbox\n',
    "2024-08-08T18:38:34.465Z workers 'Scheduling Vitest Run (clivh): 2024-08-08T18:38:34.458Z'\n",
    "2024-08-08T18:38:37.506Z workers 'Range mismatch (fileId: 12, calculated: 0, actual: 36)'\n",
    .... redacted for shorter text ....
    '2024-08-08T18:38:38.535Z workers [clivh.4] Loaded unknown number of test(s)\n',
    "2024-08-08T18:38:38.544Z workers 'Range mismatch (fileId: 33, calculated: 0, actual: 43)'\n",
    '2024-08-08T18:38:38.546Z workers [clivh.4] Test executed: can be inited\n',
    .... redacted for shorter text ....
    '2024-08-08T18:38:43.661Z workers Some long running code has been detected: one of your tests is taking more than 5000ms to execute.\n',
    .... redacted for shorter text ....
    "2024-08-08T18:38:46.011Z workers 'Vitest Run Complete (clivh): 2024-08-08T18:38:46.003Z'\n",
    '2024-08-08T18:38:46.014Z workers [clivh] Run 153 test(s), skipped 0 test(s)\n',
    '2024-08-08T18:38:46.014Z workers [clivh] Sandbox is responsive, closing it\n',
    '2024-08-08T18:38:46.027Z project Test run finished\n',
    '2024-08-08T18:38:46.027Z project Processed console.log entries\n',
    '2024-08-08T18:38:46.027Z project Processed loading sequences\n',
    '2024-08-08T18:38:46.028Z project Test name duplicate: should render ![image](pic1.jpg)\n',
    .... redacted for shorter text ....
    '2024-08-08T18:38:46.029Z project Processed executed tests\n',
    '2024-08-08T18:38:46.040Z project Processed code coverage\n',
    '2024-08-08T18:38:46.095Z project Test run result processed and sent to IDE\n',
    '2024-08-08T18:39:00.391Z fs File changed: test/components/NEditorSlideoverSync.spec.ts\n',
    '2024-08-08T18:39:00.427Z fs No changes detected for test/components/NEditorSlideoverSync.spec.ts\n',
    '2024-08-08T18:39:00.427Z extended-core File was not changed, but file markers may need to be synced\n'
  ]
}
smcenlly commented 1 month ago

Thanks for reporting your issue.

There is some code internal to nuxt that is not correctly handling Vue files when that have a querystring as part of their file URL (which is what Wallaby needs to do as a part of its cache-breaking mechanism). We've updated Wallaby to patch nuxt in this case, which should fix the auto import issue. Non-vue files were not affected (auto-import still worked).

Please update to Wallaby core v1.0.1593, it should fix your problem.

jrutila commented 1 month ago

That was fast! It works, thank you.