Open lassediercks opened 4 months ago
Isolated reproduction:
https://stackblitz.com/edit/nuxt-starter-xti8mf?file=app.vue,package.json,app.spec.ts,components%2FFetching.spec.ts,components%2FFetching.vue,nuxt.config.ts
run yarn vitest to see a failed spec that imo shouldve succeed
yarn vitest
When using registerEndpoint to mock an api response I'd expect to be able to validate the correct dom is displayed based on the mock response.
registerEndpoint
No response
Environment
Build Modules: -
Reproduction
Isolated reproduction:
https://stackblitz.com/edit/nuxt-starter-xti8mf?file=app.vue,package.json,app.spec.ts,components%2FFetching.spec.ts,components%2FFetching.vue,nuxt.config.ts
run
yarn vitest
to see a failed spec that imo shouldve succeedDescribe the bug
When using
registerEndpoint
to mock an api response I'd expect to be able to validate the correct dom is displayed based on the mock response.Additional context
No response
Logs
No response