From 54cb95a30a272d0425091b84185a0c9f4cd32671 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 6 Sep 2022 16:32:39 +0100 Subject: [PATCH] test: use semantic `runIf` and `skipIf` helpers --- test/basic.test.ts | 87 ++++++++++++++++++++-------------------------- 1 file changed, 38 insertions(+), 49 deletions(-) diff --git a/test/basic.test.ts b/test/basic.test.ts index d15b0919376..d9b08dc82e7 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -393,28 +393,26 @@ describe('automatically keyed composables', () => { }) }) -if (!process.env.NUXT_TEST_DEV && !process.env.TEST_WITH_WEBPACK) { - describe('inlining component styles', () => { - it('should inline styles', async () => { - const html = await $fetch('/styles') - for (const style of [ - '{--assets:"assets"}', //