summaryrefslogtreecommitdiff
path: root/cli/tests/js_import_detect.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-02-16 21:11:44 +1100
committerGitHub <noreply@github.com>2020-02-16 11:11:44 +0100
commit98e585a284f6b8bb568cec52ca3599612b663ef3 (patch)
tree0678c42e886187ee2b5c4aacb160ec3cec1798ff /cli/tests/js_import_detect.ts
parent503d8bfef208178be847cd9d80c62462e0a0d417 (diff)
Fix issue with detecting AMD like imports (#4009)
Diffstat (limited to 'cli/tests/js_import_detect.ts')
-rw-r--r--cli/tests/js_import_detect.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/js_import_detect.ts b/cli/tests/js_import_detect.ts
new file mode 100644
index 000000000..7b90dfe63
--- /dev/null
+++ b/cli/tests/js_import_detect.ts
@@ -0,0 +1,3 @@
+function define(_foo: string[]): void {}
+define(["long"]);
+console.log("ok");