Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/LintAndTestWorkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm run lint
4 changes: 3 additions & 1 deletion src/tests/mailer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ describe("sendMail", () => {

// Check that the nodemailer transport was created with the correct config
expect(mockedNodemailer.createTransport).toHaveBeenCalledWith({
service: "Gmail",
host: process.env.SMTP_HOST,
port: 587,
port: parseInt(process.env.SMTP_PORT as string, 10),
secure: true,
auth: {
user: process.env.SMTP_USER,
pass: process.env.SMTP_PASS,
Expand Down