Skip to content

Commit 4021e36

Browse files
committed
tests(firestore-send-email): fix tests
1 parent b31f3eb commit 4021e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore-send-email/functions/__tests__/validation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ describe("validatePayload", () => {
615615
};
616616
expect(() => validatePayload(invalidPayload)).toThrow(ValidationError);
617617
expect(() => validatePayload(invalidPayload)).toThrow(
618-
"Invalid message configuration: Field 'message.attachments' must be an array. If you have a single attachment object, wrap it in an array (e.g., [{ filename: '...', path: '...' }])"
618+
"Invalid message configuration: Field 'message.attachments' must be an array"
619619
);
620620
});
621621
});

0 commit comments

Comments
 (0)