test: also run composables test with appManifest off

This commit is contained in:
Daniel Roe 2024-03-16 11:06:29 -07:00
parent adc728e2a3
commit 205d0e2fa5
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
2 changed files with 4 additions and 1 deletions

View File

@ -619,7 +619,7 @@ describe('routing utilities: `abortNavigation`', () => {
})
describe('routing utilities: `setPageLayout`', () => {
it('should set error on page metadata if run outside middleware', () => {
it('should set layout on page metadata if run outside middleware', () => {
const route = useRoute()
expect(route.meta.layout).toBeUndefined()
setPageLayout('custom')

View File

@ -10,6 +10,9 @@ export default defineVitestConfig({
environmentOptions: {
nuxt: {
overrides: {
experimental: {
appManifest: process.env.TEST_MANIFEST !== 'manifest-off'
},
appConfig: {
nuxt: {
buildId: 'override'