🧑‍💻 Improve developer experience (#1140)

This commit is contained in:
Luke Vella 2024-06-09 22:08:02 +01:00 committed by GitHub
parent 34fa288069
commit 685f49b4c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 181 additions and 138 deletions

View file

@ -43,10 +43,6 @@ type EmailClientConfig = {
* Whether to open previews of each email in the browser
*/
openPreviews?: boolean;
/**
* Whether to send emails to the test server
*/
useTestServer: boolean;
/**
* Email provider config
*/
@ -132,13 +128,6 @@ export class EmailClient {
return this.cachedTransport;
}
if (this.config.useTestServer) {
this.cachedTransport = createTransport({
port: 4025,
});
return this.cachedTransport;
}
switch (this.config.provider.name) {
case "ses": {
const ses = new aws.SES({