Skip to content

Commit 7355f73

Browse files
committed
Fix failing cdsExtractorLog.test.ts unit test
1 parent a1d1c5d commit 7355f73

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extractors/cds/tools/test/src/logging/cdsExtractorLog.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,9 @@ describe('cdsExtractorLog', () => {
404404
logPerformanceCounter('Files processed', 10, startTime);
405405

406406
expect(mockConsoleLog).toHaveBeenCalledWith(
407-
expect.stringMatching(/^\[CDS-.+ \d+\] DEBUG: Files processed: 10 - Rate: 0\/sec$/),
407+
expect.stringMatching(
408+
/^\[CDS-.+ \d+\] DEBUG: Files processed: 10 - Rate: \d+\.?\d*\/sec$/,
409+
),
408410
);
409411
});
410412

0 commit comments

Comments
 (0)