Skip to content

Commit 708a52b

Browse files
committed
🐛 Prepare build dir for tests
1 parent 8a4606a commit 708a52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"scripts": {
1313
"prepare": "babel src --out-dir lib",
14-
"test": "mocha 'lib/**/__tests__/*' --exit",
14+
"test": "npm run prepare && mocha 'lib/**/__tests__/*' --exit",
1515
"format": "prettier --write 'src/**/*.js'",
1616
"lint:ci": "CI=true eslint . --ignore-path .gitignore --quiet",
1717
"lint": "eslint . --ignore-path .gitignore",

0 commit comments

Comments
 (0)