Skip to content

Commit 89a1c38

Browse files
committed
added script to run unit testcases in audit plugin
1 parent 1a94a6e commit 89a1c38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/contentstack-audit/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
7575
"version": "oclif readme && git add README.md",
7676
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo oclif.manifest.json",
77-
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
77+
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"",
78+
"test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.js\""
7879
},
7980
"engines": {
8081
"node": ">=16"

0 commit comments

Comments
 (0)