mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
test: also run composables test with appManifest off
This commit is contained in:
parent
adc728e2a3
commit
205d0e2fa5
@ -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')
|
||||
|
@ -10,6 +10,9 @@ export default defineVitestConfig({
|
||||
environmentOptions: {
|
||||
nuxt: {
|
||||
overrides: {
|
||||
experimental: {
|
||||
appManifest: process.env.TEST_MANIFEST !== 'manifest-off'
|
||||
},
|
||||
appConfig: {
|
||||
nuxt: {
|
||||
buildId: 'override'
|
||||
|
Loading…
Reference in New Issue
Block a user