Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit 4b915c2

Browse files
committed
EN-566: Add unit tests (patch)
1 parent 8224b0b commit 4b915c2

9 files changed

+484
-23
lines changed

.nycrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "@quantum-sec/nyc-config-typescript"
3+
}

package-lock.json

+41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"access": "public"
5353
},
5454
"dependencies": {
55+
"axios": "^0.21.1",
5556
"chalk": "^2.4.2",
5657
"uuid": "^3.4.0",
5758
"yargs": "^16.2.0"

src/index.ts

-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ const collectors = {
1010
checkov: CheckovCollector,
1111
};
1212

13-
// function printUsage() {
14-
// // TODO: print useful details
15-
// console.log('USAGE INFORMATION HERE');
16-
// }
17-
1813
function parseOptions(): any {
1914
const args = argv as any;
2015
const tool = args._[0];

0 commit comments

Comments
 (0)