ci: Fix typing issues in cli tests (no-changelog) (#5227)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-01-23 17:41:55 +01:00
committed by GitHub
parent 96dddf12e1
commit bd14ec1110
3 changed files with 11 additions and 10 deletions

View File

@@ -367,7 +367,7 @@ test('should send message to sentry ', async () => {
sentryDestination.enable();
const mockedSentryCaptureMessage = jest.spyOn(sentryDestination.sentryClient, 'captureMessage');
const mockedSentryCaptureMessage = jest.spyOn(sentryDestination.sentryClient!, 'captureMessage');
mockedSentryCaptureMessage.mockImplementation((_m, _level, _hint, _scope) => {
eventBus.confirmSent(testMessage, {
id: sentryDestination.id,