JS: Add test case

This commit is contained in:
Asger Feldthaus
2020-10-26 09:58:37 +00:00
parent f6c0972523
commit c353f61091
4 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
files
| nullContents/package.json:0:0:0:0 | nullContents/package.json |
| tst.js:0:0:0:0 | tst.js |
packageJsons

View File

@@ -0,0 +1,5 @@
import javascript
query File files() { any() }
query PackageJSON packageJsons() { any() }

View File

@@ -0,0 +1,2 @@
// This file is just here to ensure some JS code is extracted
let x = 'hey';