1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 14:28:10 +09:00

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)