From 7ef028d4f9483cc4dc9aa8c0ebfa4f6482cbb897 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 7 Sep 2022 10:55:03 +0100 Subject: [PATCH] test: use semantic `runIf` and `skipIf` helpers (#7312) --- test/basic.test.ts | 113 ++++++++++++++++++++------------------------- 1 file changed, 51 insertions(+), 62 deletions(-) diff --git a/test/basic.test.ts b/test/basic.test.ts index 00c80e211f..92e02f662f 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -369,43 +369,41 @@ 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"}', //