We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ccf7b6 commit ca6b3dcCopy full SHA for ca6b3dc
packages/snaps-jest/src/matchers.ts
@@ -168,7 +168,7 @@ export const toRespondWithError: MatcherFunction<[expected: Json]> = function (
168
export const toSendNotification: MatcherFunction<
169
[
170
expectedMessage: string,
171
- expectedType?: EnumToUnion<NotificationType>,
+ expectedType?: EnumToUnion<NotificationType> | undefined,
172
expectedTitle?: string | undefined,
173
expectedContent?: JSXElement | undefined,
174
expectedFooterLink?: { text: string; href: string } | undefined,
0 commit comments