fix: jest test global env
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const { cd, $, chalk } = require('zx')
|
||||
const globals = { $, chalk, cd, consola: console }
|
||||
const globals = { $, chalk, cd, consola: console, isDev: true }
|
||||
|
||||
for (const key in globals) {
|
||||
global[key] = globals[key]
|
||||
|
||||
Reference in New Issue
Block a user