Skip to content

Commit ca6b3dc

Browse files
committed
fix type
1 parent 9ccf7b6 commit ca6b3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/snaps-jest/src/matchers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const toRespondWithError: MatcherFunction<[expected: Json]> = function (
168168
export const toSendNotification: MatcherFunction<
169169
[
170170
expectedMessage: string,
171-
expectedType?: EnumToUnion<NotificationType>,
171+
expectedType?: EnumToUnion<NotificationType> | undefined,
172172
expectedTitle?: string | undefined,
173173
expectedContent?: JSXElement | undefined,
174174
expectedFooterLink?: { text: string; href: string } | undefined,

0 commit comments

Comments
 (0)