test: disable `stale-dep` in test mode
parent
f04b09a40d
commit
acd7010fbc
|
@ -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 New Issue