Delete unused SendGrid mock.

This commit is contained in:
Sam Rose 2024-07-03 16:41:51 +01:00
parent d14cccb4c6
commit 5fc5524693
No known key found for this signature in database
1 changed files with 0 additions and 23 deletions

View File

@ -1,23 +0,0 @@
// eslint-disable-next-line @typescript-eslint/no-unused-vars
module SendgridMock {
class Email {
constructor() {
// @ts-ignore
this.apiKey = null
}
setApiKey(apiKey: any) {
// @ts-ignore
this.apiKey = apiKey
}
async send(msg: any) {
if (msg.to === "invalid@example.com") {
throw "Invalid"
}
return msg
}
}
module.exports = new Email()
}