Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zglicz committed Dec 12, 2024
1 parent 62cf4ba commit 966032f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,9 @@ void should_add_telemetry_for_scanner_analysis() throws Exception {
context.setNextCache(mock(WriteCache.class));
createInputFile(context);
sensor.execute(context);
assertThat(logTester.logs(Level.DEBUG)).contains("Telemetry saved: {javascript.pkg1=1.1.0}");
assertThat(logTester.logs(Level.DEBUG)).contains(
"Telemetry saved: {javascript.dependency.pkg1=1.1.0}"
);
}

private static JsTsChecks checks(String... ruleKeys) {
Expand Down

0 comments on commit 966032f

Please sign in to comment.