mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +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`', () => {
|
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()
|
const route = useRoute()
|
||||||
expect(route.meta.layout).toBeUndefined()
|
expect(route.meta.layout).toBeUndefined()
|
||||||
setPageLayout('custom')
|
setPageLayout('custom')
|
||||||
|
@ -10,6 +10,9 @@ export default defineVitestConfig({
|
|||||||
environmentOptions: {
|
environmentOptions: {
|
||||||
nuxt: {
|
nuxt: {
|
||||||
overrides: {
|
overrides: {
|
||||||
|
experimental: {
|
||||||
|
appManifest: process.env.TEST_MANIFEST !== 'manifest-off'
|
||||||
|
},
|
||||||
appConfig: {
|
appConfig: {
|
||||||
nuxt: {
|
nuxt: {
|
||||||
buildId: 'override'
|
buildId: 'override'
|
||||||
|
Loading…
Reference in New Issue
Block a user