mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
JavaScript: Consolidate ModuleImportNode tests.
Note that `CustomImport.ql` is still separate since it customises the standard library and would hence influennce other tests.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_moduleImportProp(string path, string prop, DataFlow::PropRead res) {
|
||||
res = DataFlow::moduleImport(path).getAPropertyRead(prop)
|
||||
}
|
||||
Reference in New Issue
Block a user