diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/error_008_checkjs.js | 6 | ||||
-rw-r--r-- | tests/error_008_checkjs.js.out | 10 |
2 files changed, 0 insertions, 16 deletions
diff --git a/tests/error_008_checkjs.js b/tests/error_008_checkjs.js deleted file mode 100644 index 08d4873c7..000000000 --- a/tests/error_008_checkjs.js +++ /dev/null @@ -1,6 +0,0 @@ -// 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 -// @ts-ignore -const foo = new Foo(); diff --git a/tests/error_008_checkjs.js.out b/tests/error_008_checkjs.js.out deleted file mode 100644 index 9220efaf1..000000000 --- a/tests/error_008_checkjs.js.out +++ /dev/null @@ -1,10 +0,0 @@ -[96m[WILDCARD]/tests/error_008_checkjs.js[WILDCARD] - [91merror[0m[90m TS2552: [0mCannot find name 'consol'. Did you mean 'console'? - -[WILDCARD] consol.log("hello world!"); -[WILDCARD]~~~~~~[0m - - [96m$asset$/lib.deno_runtime.d.ts[WILDCARD] -[WILDCARD]declare const console: console_.Console; -[WILDCARD]~~~~~~~[0m -[WILDCARD]'console' is declared here. - |