We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ea6287 commit ea1fd20Copy full SHA for ea1fd20
1 file changed
tests/bug-detectors/path-traversal.test.js
@@ -24,9 +24,9 @@ const {
24
} = require("../helpers");
25
26
describe("Path Traversal", () => {
27
- const SAFE = "../safe_path/";
28
- const EVIL = "../evil_path/";
29
const bugDetectorDirectory = path.join(__dirname, "path-traversal");
+ const SAFE = path.join(bugDetectorDirectory, "../../safe_path");
+ const EVIL = path.join(bugDetectorDirectory, "../../evil_path");
30
const goalPath = path.join(bugDetectorDirectory, "../../jaz_zer");
31
32
beforeEach(async () => {
0 commit comments