test: disable stale-dep in test mode

This commit is contained in:
Daniel Roe 2023-02-09 13:01:22 +01:00
parent f04b09a40d
commit acd7010fbc

View file

@ -7,7 +7,7 @@ export default defineNuxtModule({
configKey: 'staleDep',
},
defaults: {
enabled: true,
enabled: process.env.NODE_ENV !== 'test',
},
setup(opts) {
if (opts.enabled)