Skip to content

Commit 1a18e68

Browse files
committed
JS: Remove reactLibraryRef
This is not testing anything interesting, and is noisy when adding inline expectations
1 parent 99fb6b6 commit 1a18e68

File tree

1 file changed

+0
-2
lines changed
  • javascript/ql/test/library-tests/frameworks/ReactJS

1 file changed

+0
-2
lines changed

javascript/ql/test/library-tests/frameworks/ReactJS/tests.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ query predicate getInstanceMethod(ReactComponent c, string n, Function res) {
99
res = c.getInstanceMethod(n)
1010
}
1111

12-
query predicate reactLibraryRef(DataFlow::ValueNode nd) { react().flowsTo(nd) }
13-
1412
query predicate getAPreviousStateSource(ReactComponent c, DataFlow::SourceNode res) {
1513
res = c.getAPreviousStateSource()
1614
}

0 commit comments

Comments
 (0)