Skip to content

Commit

Permalink
test: ignore line for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Oct 22, 2023
1 parent 1ac85fd commit b4a3633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/language/validation/builtins/target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ export const annotationCallMustHaveCorrectTarget = (services: SafeDsServices) =>
}

const actualTarget = getActualTarget(node);
/* c8 ignore next start */
if (!actualTarget) {
return;

Check warning on line 68 in src/language/validation/builtins/target.ts

View check run for this annotation

Codecov / codecov/patch

src/language/validation/builtins/target.ts#L68

Added line #L68 was not covered by tests
}
/* c8 ignore next stop */

const validTargets = builtinAnnotations
.streamValidTargets(annotation)
Expand Down

0 comments on commit b4a3633

Please sign in to comment.