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:
Max Schaefer
2019-03-04 09:15:27 +00:00
parent deff97a9e6
commit 5a242d4849
32 changed files with 158 additions and 117 deletions

View File

@@ -0,0 +1,5 @@
import javascript
query predicate test_moduleImportProp(string path, string prop, DataFlow::PropRead res) {
res = DataFlow::moduleImport(path).getAPropertyRead(prop)
}