forked from Mirrors/elk
test: disable stale-dep
in test mode
This commit is contained in:
parent
f04b09a40d
commit
acd7010fbc
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ export default defineNuxtModule({
|
||||||
configKey: 'staleDep',
|
configKey: 'staleDep',
|
||||||
},
|
},
|
||||||
defaults: {
|
defaults: {
|
||||||
enabled: true,
|
enabled: process.env.NODE_ENV !== 'test',
|
||||||
},
|
},
|
||||||
setup(opts) {
|
setup(opts) {
|
||||||
if (opts.enabled)
|
if (opts.enabled)
|
||||||
|
|
Loading…
Reference in a new issue