We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c281739 commit 202b582Copy full SHA for 202b582
1 file changed
modules/lunaria.ts
@@ -2,7 +2,7 @@ import { defineNuxtModule, useNuxt } from 'nuxt/kit'
2
import { execSync } from 'node:child_process'
3
import { join } from 'node:path'
4
import { existsSync, mkdirSync } from 'node:fs'
5
-import { isCI } from 'std-env'
+import { isCI, isTest } from 'std-env'
6
7
export default defineNuxtModule({
8
meta: {
@@ -20,7 +20,7 @@ export default defineNuxtModule({
20
maxAge: 60 * 60 * 24, // 1 day
21
})
22
23
- if (nuxt.options.dev || nuxt.options._prepare || nuxt.options.test) {
+ if (nuxt.options.dev || nuxt.options._prepare || nuxt.options.test || isTest) {
24
return
25
}
26
0 commit comments