diff options
Diffstat (limited to 'tests/038_checkjs.js')
-rw-r--r-- | tests/038_checkjs.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/038_checkjs.js b/tests/038_checkjs.js new file mode 100644 index 000000000..628d3e376 --- /dev/null +++ b/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(); |