Skip to content

Commit d5839d8

Browse files
committed
chore: fix tests
1 parent 0f8a0be commit d5839d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"start": "node index.js",
8-
"pretest": "node --input-type=module -e \"import { copyFileSync, existsSync } from 'node:fs'; const files = [['config/main.example.js', 'config/main.js'], ['config/accounts.example.js', 'config/accounts.js']]; for (const [src, dest] of files) { if (!existsSync(dest) && existsSync(src)) copyFileSync(src, dest); }\"",
8+
"pretest": "node --input-type=module -e \"import { copyFileSync, existsSync } from 'node:fs'; const files = [['config/main.example.js', 'config/main.js'], ['config/accounts.example.js', 'config/accounts.js'], ['config/clients.example.js', 'config/clients.js']]; for (const [src, dest] of files) { if (!existsSync(dest) && existsSync(src)) copyFileSync(src, dest); }\"",
99
"test": "node --test test/**/*.test.js"
1010
},
1111
"author": "",

0 commit comments

Comments
 (0)