mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
test: fix dynamic dev paths (#7314)
This commit is contained in:
parent
7ef028d4f9
commit
1c07914608
@ -438,10 +438,8 @@ describe.runIf(process.env.NUXT_TEST_DEV)('detecting invalid root nodes', () =>
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('dynamic paths', () => {
|
// TODO: dynamic paths in dev
|
||||||
// TODO:
|
describe.skipIf(process.env.NUXT_TEST_DEV)('dynamic paths', () => {
|
||||||
it.runIf(process.env.NUXT_TEST_DEV).todo('dynamic paths in dev')
|
|
||||||
|
|
||||||
it('should work with no overrides', async () => {
|
it('should work with no overrides', async () => {
|
||||||
const html: string = await $fetch('/assets')
|
const html: string = await $fetch('/assets')
|
||||||
for (const match of html.matchAll(/(href|src)="(.*?)"|url\(([^)]*?)\)/g)) {
|
for (const match of html.matchAll(/(href|src)="(.*?)"|url\(([^)]*?)\)/g)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user