summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/coverage/complex_expected.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-12-23 20:02:54 -0500
committerGitHub <noreply@github.com>2021-12-23 20:02:54 -0500
commit7ebbda7fd71495b6f4e9bf87d385d19c44102c62 (patch)
treee3279b7456e47511f41c95a1972391f0607b6450 /cli/tests/testdata/coverage/complex_expected.out
parent37dbe5249c9b5c447da5577b5c787d7006a4c80f (diff)
fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190)
Diffstat (limited to 'cli/tests/testdata/coverage/complex_expected.out')
-rw-r--r--cli/tests/testdata/coverage/complex_expected.out19
1 files changed, 19 insertions, 0 deletions
diff --git a/cli/tests/testdata/coverage/complex_expected.out b/cli/tests/testdata/coverage/complex_expected.out
new file mode 100644
index 000000000..e9f9a453f
--- /dev/null
+++ b/cli/tests/testdata/coverage/complex_expected.out
@@ -0,0 +1,19 @@
+cover [WILDCARD]/coverage/complex.ts ... 59.459% (22/37)
+ 46 | export function unused(
+ 47 | foo: string,
+ 48 | bar: string,
+ 49 | baz: string,
+-----|-----
+ 51 | return complex(
+ 52 | foo,
+ 53 | bar,
+ 54 | baz,
+ 55 | );
+ 56 | }
+-----|-----
+ 64 | export function ƒ(): number {
+ 65 | return (
+ 66 | 0
+ 67 | );
+-----|-----
+ 71 | console.log("%s", () => 1);