test: add mock db test
This commit is contained in:
6
test-setup.js
Normal file
6
test-setup.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const { cd, $, chalk } = require('zx')
|
||||
const globals = { $, chalk, cd, consola: console }
|
||||
|
||||
for (const key in globals) {
|
||||
global[key] = globals[key]
|
||||
}
|
||||
Reference in New Issue
Block a user