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