Skip to content

Commit 8ae05d8

Browse files
committed
JS: Add: test case for Object.groupBy
1 parent c02ad65 commit 8ae05d8

File tree

1 file changed

+1
-0
lines changed
  • javascript/ql/test/library-tests/TaintTracking

1 file changed

+1
-0
lines changed

javascript/ql/test/library-tests/TaintTracking/tst.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,5 @@ function test() {
7171

7272
sink(Map.groupBy(x, z => z)); // NOT OK
7373
sink(Custom.groupBy(x, z => z)); // OK
74+
sink(Object.groupBy(x, z => z)); // NOT OK -- This should be marked via taint step, but it is not.
7475
}

0 commit comments

Comments
 (0)