Skip to content

Commit cdf003c

Browse files
committed
Refactor helpers test directory structure and in CI
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
1 parent 3848d53 commit cdf003c

File tree

4 files changed

+269
-74
lines changed

4 files changed

+269
-74
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ jobs:
7676
nvm use
7777
7878
- name: Install dependencies
79-
working-directory: ./scanners
79+
working-directory: tests/integration
8080
run: |
8181
npm ci
8282
- name: Test Node.js Scanner Test Helpers
83-
working-directory: ./scanners
83+
working-directory: tests/integration
8484
run: |
8585
npm run test:helpers
8686
k8s-setup:

scanners/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"main": "index.js",
1111
"scripts": {
1212
"test:unit": "jest --verbose --testPathIgnorePatterns /integration-tests/ --ci --colors --coverage --passWithNoTests",
13-
"test:integration": "jest --verbose --ci --colors --coverage --passWithNoTests",
14-
"test:helpers": "jest helpers.test.js --verbose --ci --colors --coverage --passWithNoTests"
13+
"test:integration": "jest --verbose --ci --colors --coverage --passWithNoTests"
1514
},
1615
"keywords": [
1716
"secureCodeBox",

0 commit comments

Comments
 (0)