summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/coverage
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/coverage')
-rw-r--r--cli/tests/testdata/coverage/complex.ts3
-rw-r--r--cli/tests/testdata/coverage/complex_expected.lcov5
-rw-r--r--cli/tests/testdata/coverage/complex_expected.out2
3 files changed, 7 insertions, 3 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("📣❓");
diff --git a/cli/tests/testdata/coverage/complex_expected.lcov b/cli/tests/testdata/coverage/complex_expected.lcov
index a0af4cff3..1bb79d277 100644
--- a/cli/tests/testdata/coverage/complex_expected.lcov
+++ b/cli/tests/testdata/coverage/complex_expected.lcov
@@ -48,6 +48,7 @@ DA:66,0
DA:67,0
DA:68,1
DA:71,0
-LH:22
-LF:37
+DA:74,1
+LH:23
+LF:38
end_of_record
diff --git a/cli/tests/testdata/coverage/complex_expected.out b/cli/tests/testdata/coverage/complex_expected.out
index e9f9a453f..e318e2067 100644
--- a/cli/tests/testdata/coverage/complex_expected.out
+++ b/cli/tests/testdata/coverage/complex_expected.out
@@ -1,4 +1,4 @@
-cover [WILDCARD]/coverage/complex.ts ... 59.459% (22/37)
+cover [WILDCARD]/coverage/complex.ts ... 60.526% (23/38)
46 | export function unused(
47 | foo: string,
48 | bar: string,