Skip to content

Commit

Permalink
test: also run composables test with appManifest off
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 16, 2024
1 parent adc728e commit 205d0e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/nuxt/composables.test.ts
Expand Up @@ -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')
Expand Down
3 changes: 3 additions & 0 deletions vitest.nuxt.config.ts
Expand Up @@ -10,6 +10,9 @@ export default defineVitestConfig({
environmentOptions: {
nuxt: {
overrides: {
experimental: {
appManifest: process.env.TEST_MANIFEST !== 'manifest-off'
},
appConfig: {
nuxt: {
buildId: 'override'
Expand Down

0 comments on commit 205d0e2

Please sign in to comment.