Skip to content

Commit f82164a

Browse files
authored
fixing jest by converting to esm
1 parent 6978e80 commit f82164a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default { transform: {} };

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"create-html5-boilerplate": "./index.js"
2020
},
2121
"scripts": {
22-
"test": "jest",
22+
"test": "node --experimental-vm-modules ./node_modules/.bin/jest",
2323
"lint": "eslint lib/cli.js",
2424
"format": "prettier --write \"./cli.js\" \"tests/*.js\"",
2525
"coverage": "jest --coverage --collectCoverageOnlyFrom ./lib/cli.js",

0 commit comments

Comments
 (0)