Skip to content

Commit

Permalink
Merge pull request #4941 from BitGo/BTC-1351.fix-mocha
Browse files Browse the repository at this point in the history
fix: move spec to unit-test script
  • Loading branch information
OttoAllmendinger committed Sep 25, 2024
2 parents 88342ee + 3a7f032 commit 210aee9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion modules/sdk-api/.mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ module.exports = {
reporter: 'min',
'reporter-option': ['cdn=true', 'json=false'],
exit: true,
spec: ['test/unit/**/*.ts'],
};
2 changes: 1 addition & 1 deletion modules/sdk-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"prepare": "npm run build",
"test": "npm run coverage",
"coverage": "nyc -- npm run unit-test",
"unit-test": "mocha"
"unit-test": "mocha 'test/unit/**/*.ts'"
},
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 210aee9

Please sign in to comment.