diff options
Diffstat (limited to 'cli/tests/subdir/complex.ts')
-rw-r--r-- | cli/tests/subdir/complex.ts | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cli/tests/subdir/complex.ts b/cli/tests/subdir/complex.ts new file mode 100644 index 000000000..588e6ce59 --- /dev/null +++ b/cli/tests/subdir/complex.ts @@ -0,0 +1,35 @@ +// This entire interface should be completely ignored by the coverage tool. +export interface Complex { + // These are comments. + foo: string; + + // But this is a stub, so this isn't really documentation. + bar: string; + + // Really all these are doing is padding the line count. + baz: string; +} + +export function complex( + foo: string, + bar: string, + baz: string, +): Complex { + return { + foo, + bar, + baz, + }; +} + +export function unused( + foo: string, + bar: string, + baz: string, +): Complex { + return complex( + foo, + bar, + baz, + ); +} |