From 72f67e0894153e08cf571503e55b9506a9d14c27 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 6 Apr 2023 12:39:04 +0100 Subject: [PATCH] test: use `isDev()` --- test/basic.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/basic.test.ts b/test/basic.test.ts index d5391d270cb..35f764b4371 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -1279,7 +1279,7 @@ describe.skipIf(isWindows)('useAsyncData', () => { }) }) -describe.runIf(process.env.NUXT_TEST_DEV)('component testing', () => { +describe.runIf(isDev())('component testing', () => { it('should work', async () => { const comp1 = await $fetchComponent('components/SugarCounter.vue', { multiplier: 2 }) expect(comp1).toContain('12 x 2 = 24')