test: fix dynamic dev paths (#7314)

This commit is contained in:
Daniel Roe 2022-09-07 11:41:25 +01:00 committed by GitHub
parent 7ef028d4f9
commit 1c07914608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -438,10 +438,8 @@ describe.runIf(process.env.NUXT_TEST_DEV)('detecting invalid root nodes', () =>
})
})
describe('dynamic paths', () => {
// TODO:
it.runIf(process.env.NUXT_TEST_DEV).todo('dynamic paths in dev')
// TODO: dynamic paths in dev
describe.skipIf(process.env.NUXT_TEST_DEV)('dynamic paths', () => {
it('should work with no overrides', async () => {
const html: string = await $fetch('/assets')
for (const match of html.matchAll(/(href|src)="(.*?)"|url\(([^)]*?)\)/g)) {