Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
test: use isDev()
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 6, 2023
1 parent e14ddd2 commit 72f67e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basic.test.ts
Expand Up @@ -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')
Expand Down

0 comments on commit 72f67e0

Please sign in to comment.