summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/coverage/complex.ts
diff options
context:
space:
mode:
authorBartek Iwańczuk <biwanczuk@gmail.com>2022-05-17 16:59:35 +0200
committerGitHub <noreply@github.com>2022-05-17 16:59:35 +0200
commitd76acfdc17e27b53fc53e6cd3051ff0acaefef42 (patch)
tree73a2f9984887f5403682de6100b7059b475ea25d /cli/tests/testdata/coverage/complex.ts
parentb2ba0c54afe806770a9a556b8e622b3c8c0bb5d1 (diff)
fix: base64 encoding of source maps with emojis (#14607)
This commit fixes source maps for files that contain emojis. This is done by updating "deno_ast" to "0.14.1" for the case of "--no-check" flag (ie using SWC emit) and by overriding TSC's default base64 encoder (which turned out to be buggy) for the type checking case.
Diffstat (limited to 'cli/tests/testdata/coverage/complex.ts')
-rw-r--r--cli/tests/testdata/coverage/complex.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/coverage/complex.ts b/cli/tests/testdata/coverage/complex.ts
index 47d4ffa79..d128b5437 100644
--- a/cli/tests/testdata/coverage/complex.ts
+++ b/cli/tests/testdata/coverage/complex.ts
@@ -69,3 +69,6 @@ export function ƒ(): number {
// This arrow function should also show up as uncovered.
console.log("%s", () => 1);
+
+// Make sure emojis work properly
+console.log("📣❓");