mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Added test cases for superagent
This commit is contained in:
@@ -314,3 +314,9 @@ function usePolyfill() {
|
||||
return response.text()
|
||||
})
|
||||
}
|
||||
|
||||
function useSuperagent(url){
|
||||
superagent('GET', url); // Not flagged
|
||||
superagent.del(url); // Not flagged
|
||||
superagent.agent().post(url).send(data); // Not flagged
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user