Pinned issues
Issues
- 4
- 1
- 3
Vitest restore mock sets all hoisted mocks to undefined when following documentation
#864 opened by rstainsby - 5
Vitest doesn't work in programmatic way if the root path isn't the current working dir
#860 opened by Jinjiang - 1
- 2
- 4
- 1
`renderSuspended` does not provide the values returned from `setup` to the template
#722 opened by obulat - 4
App.vue doesnt mount when running tests
#745 opened by joel-wenzel - 4
mountSuspended & createTestingPinia
#737 opened by danilchernov - 5
Unit test error using 'Vitest, @nuxt/test-utils' (SyntaxError: At least one <template> or <script> is required for each file component. )
#842 opened by motoo1789 - 5
- 1
error.vue can't be tested
#769 opened by martinsjek - 5
Plugins not overwritten when passed as options
#828 opened by lucasecdb - 1
Vitest config not used in dev tools
#837 opened by peerhenry - 1
- 0
- 1
- 1
`defineVitestConfig` from `@nuxt/test-utils` is not a drop-in replacement for `defineConfig` from `vite` (`No test suite found in file`)
#826 opened by Llois41 - 1
vitest does not resolve nitro (h3) auto-imports
#827 opened by pmwmedia - 0
Runtime dir miss-calculated
#818 opened by bahulneel - 0
This isn't Nuxt specific here, but to import `@nuxt/test-utils` in your vitest config, you either need to have to have `type: "module"` specified in your `package.json` or name it `vitest.config.m{ts,js}`.
#822 opened by navanjr - 4
Missing types for @nuxt/test-utils/playwright
#807 opened by ptylek - 2
Unable to use with `msw` to mock requests
#775 opened by rinux55 - 2
- 7
- 0
failed to load config from vitest.config.ts, ReferenceError: structuredClone is not defined
#810 opened by MellowCo - 5
- 2
- 3
Cant use utils/composables within tests
#802 opened by MickL - 1
Cant fetch external URL
#796 opened by MickL - 1
- 1
Can't fetch within beforeAll() or afterAll()
#801 opened by MickL - 0
rerender is not running correctly
#794 opened by baixiaoyu2997 - 0
screen reader driver
#787 opened by danielroe - 0
Mapped State from vuex is undefined
#774 opened by marcel-wtfoxtrot - 0
- 1
- 3
Mock adding third random parameter
#749 opened by joelsantosbr - 0
Test fails if useNuxtApp used
#744 opened by martinsjek - 0
Hydration does not change accordingly when used registerEndpoint + useLazyAsync
#765 opened by lassediercks - 3
Mock websocket server for unit tests
#758 opened by JulienChampagnol - 2
Cannot destructure property 'vueApp' of 'globalThis.__unctx__.get(...).tryUse(...)' as it is undefined.
#752 opened by Geestig - 1
Missing "main" in package.json
#742 opened by jacktan165 - 1
Experimental optimizeDeps.disabled vite 5.1
#754 opened by productdevbook - 1
Fail to mock a Nested Component with mockComponent
#708 opened by pepesan - 2
Docs say to install vue test utils but then running test or dev server is broken (require() of ES Module error)
#748 opened by luckylooke - 1
Server utils composable is not defined in test
#732 opened by PoloLacoste - 2
vue-router mock
#734 opened by tomsdob - 9
e2e testing does not work.
#720 opened by KarelVendla