summaryrefslogtreecommitdiff
path: root/cli/tests/038_checkjs.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/038_checkjs.js')
-rw-r--r--cli/tests/038_checkjs.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/038_checkjs.js b/cli/tests/038_checkjs.js
new file mode 100644
index 000000000..628d3e376
--- /dev/null
+++ b/cli/tests/038_checkjs.js
@@ -0,0 +1,6 @@
+// console.log intentionally misspelled to trigger a type error
+consol.log("hello world!");
+
+// the following error should be ignored and not output to the console
+// eslint-disable-next-line
+const foo = new Foo();