Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalik88 committed Jan 10, 2025
1 parent 9ccf7b6 commit ca6b3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snaps-jest/src/matchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const toRespondWithError: MatcherFunction<[expected: Json]> = function (
export const toSendNotification: MatcherFunction<
[
expectedMessage: string,
expectedType?: EnumToUnion<NotificationType>,
expectedType?: EnumToUnion<NotificationType> | undefined,
expectedTitle?: string | undefined,
expectedContent?: JSXElement | undefined,
expectedFooterLink?: { text: string; href: string } | undefined,
Expand Down

0 comments on commit ca6b3dc

Please sign in to comment.