diff --git a/test/basic.test.ts b/test/basic.test.ts index 492e8e4..d6fd753 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -22,27 +22,22 @@ describe('basic', async () => { test('has prefetch link', async () => { const body = await $fetch('/') - expect(body).toContain('') + expect(body).toContain(' { const body = await $fetch('/') - expect(body).toContain('') + expect(body).toContain(' { const body = await $fetch('/') - expect(body).toContain('') + expect(body).toContain(' { const body = await $fetch('/') - expect(body).not.toContain('') - }) - - test('does not have static stylesheet link', async () => { - const body = await $fetch('/') - expect(body).not.toContain('') + expect(body).not.toContain(' { diff --git a/test/use-stylesheet.test.ts b/test/use-stylesheet.test.ts index cfddf14..d32ecfa 100644 --- a/test/use-stylesheet.test.ts +++ b/test/use-stylesheet.test.ts @@ -24,22 +24,22 @@ describe('use stylesheet', async () => { test('has prefetch link', async () => { const body = await $fetch('/') - expect(body).toContain('') + expect(body).toContain(' { const body = await $fetch('/') - expect(body).toContain('') + expect(body).toContain(' { const body = await $fetch('/') - expect(body).toContain('') + expect(body).toContain(' { const body = await $fetch('/') - expect(body).toContain('') + expect(body).toContain(' {