Skip to content

Commit efddd23

Browse files
fix: update test script to use recursive flag with specific directories
Co-Authored-By: mcong@box.com <mcong@box.com>
1 parent fc4b3eb commit efddd23

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
@@ -142,7 +142,7 @@
142142
}
143143
},
144144
"scripts": {
145-
"test": "nyc mocha \"test/commands/**/*.test.js\" \"test/helpers/**/*.test.js\" \"test/fixtures/**/*.test.js\"",
145+
"test": "nyc mocha --recursive \"test/commands\" \"test/helpers\" \"test/fixtures\" --extension \".test.js\"",
146146
"test:integration": "mocha \"test/integration/__tests__/**/*.test.js\" --timeout 180000",
147147
"posttest": "npm run lint",
148148
"lint": "eslint --fix ./src ./test",

0 commit comments

Comments
 (0)