Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:
nvm use

- name: Install dependencies
working-directory: ./scanners
working-directory: tests/integration
run: |
npm ci
- name: Test Node.js Scanner Test Helpers
working-directory: ./scanners
working-directory: tests/integration
run: |
npm run test:helpers
k8s-setup:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

const {scan} = require("../../helpers");
const { scan } = require("../../../tests/integration/helpers.js");

jest.retryTimes(3);

Expand Down
2 changes: 1 addition & 1 deletion scanners/amass/integration-tests/amass.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

const {scan} = require("../../helpers");
const { scan } = require("../../../tests/integration/helpers.js");
jest.retryTimes(3);

test(
Expand Down
2 changes: 1 addition & 1 deletion scanners/cmseek/integration-tests/cmseek.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

const {scan} = require("../../helpers");
const { scan } = require("../../../tests/integration/helpers.js");

jest.retryTimes(3);

Expand Down
5 changes: 2 additions & 3 deletions scanners/doggo/integration-tests/doggo.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

const {
scan
} = require("../../helpers");
const { scan } = require("../../../tests/integration/helpers.js");


jest.retryTimes(3);

Expand Down
2 changes: 1 addition & 1 deletion scanners/ffuf/integration-tests/ffuf.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

const {scan} = require("../../helpers");
const { scan } = require("../../../tests/integration/helpers.js");

jest.retryTimes(3);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

const {scan} = require("../../helpers");
const { scan } = require("../../../tests/integration/helpers.js");

jest.retryTimes(3);

Expand Down
2 changes: 1 addition & 1 deletion scanners/gitleaks/integration-tests/gitleaks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

const {scan} = require("../../helpers");
const { scan } = require("../../../tests/integration/helpers.js");

jest.retryTimes(0);

Expand Down
302 changes: 0 additions & 302 deletions scanners/helpers.js

This file was deleted.

2 changes: 1 addition & 1 deletion scanners/kube-hunter/integration-tests/kube-hunter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

const {scan} = require("../../helpers");
const { scan } = require("../../../tests/integration/helpers.js");

jest.retryTimes(3);

Expand Down
Loading