mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
JS: Add: test case for Map.groupBy
This commit is contained in:
@@ -68,4 +68,7 @@ function test() {
|
||||
sink(x.toReversed()) // NOT OK
|
||||
const xReversed = x.toReversed();
|
||||
sink(xReversed) // NOT OK
|
||||
|
||||
sink(Map.groupBy(x, z => z)); // NOT OK -- This should be marked via taint step, but it is not.
|
||||
sink(Custom.groupBy(x, z => z)); // OK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user