test: disable `stale-dep` in test mode

zio/stable
Daniel Roe 2023-02-09 13:01:22 +01:00
parent f04b09a40d
commit acd7010fbc
1 changed files with 1 additions and 1 deletions

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)