Added test case which is not detected by dataflow.

This commit is contained in:
Napalys
2025-03-20 18:15:48 +01:00
parent 13e90c1606
commit 401c6ea0f6
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { superagent } from "./superagentWrapper.js";
function test(url) {
superagent('GET', url); // Not flagged
superagent.del(url); // Not flagged
superagent.agent().post(url).send(data); // Not flagged
}

View File

@@ -0,0 +1,2 @@
import superagent from 'superagent';
export { superagent }