Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 6b34917

Browse files
committed
Configure jest to automatically run all tests in the hook dir
1 parent 7ac2fdc commit 6b34917

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

hooks/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "securecodebox-hooks",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"directories": {
7+
"example": "example"
8+
},
9+
"scripts": {
10+
"test": "jest"
11+
},
12+
"keywords": [],
13+
"author": "",
14+
"license": "ISC",
15+
"devDependencies": {
16+
"jest": "^25.1.0"
17+
}
18+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"jest": {
3232
"projects": [
3333
"<rootDir>/integrations/",
34-
"<rootDir>/persistence/persistence-elastic/",
34+
"<rootDir>/hooks/",
3535
{
3636
"displayName": "lint",
3737
"runner": "jest-runner-eslint",

0 commit comments

Comments
 (0)