Skip to content

Commit 8f2adb6

Browse files
committed
Added test case for create.
1 parent c0d848c commit 8f2adb6

File tree

1 file changed

+3
-0
lines changed
  • javascript/ql/test/library-tests/frameworks/ClientRequests

1 file changed

+3
-0
lines changed

javascript/ql/test/library-tests/frameworks/ClientRequests/tst.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,4 +347,7 @@ function moreAxiosTests(url, data, config){
347347
axios.patchForm(url, data);
348348
axios.patchForm(url, data, config);
349349
axios.getUri({ url: url });
350+
351+
const axiosInstance = axios.create({});
352+
axiosInstance({method: "get", url: url, responseType: "text"}); // Not flagged
350353
}

0 commit comments

Comments
 (0)