Skip to content

Commit

Permalink
fix(typescript): collect coverage in ts_project
Browse files Browse the repository at this point in the history
  • Loading branch information
subnova committed Jun 10, 2021
1 parent 998a6dc commit 624eca6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/typescript/internal/ts_project.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@ def _ts_project_impl(ctx):
for dep in ctx.attr.deps
if TsConfigInfo in dep
])),
coverage_common.instrumented_files_info(
ctx,
source_attributes = ["srcs"],
dependency_attributes = ["deps"],
extensions = ["ts", "tsx"],
),
]

# Only provide DeclarationInfo if there are some typings.
Expand Down

0 comments on commit 624eca6

Please sign in to comment.