Skip to content

Commit

Permalink
fix: testing update
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinBuyck committed Oct 23, 2024
1 parent 7149a39 commit ed786fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/test/unit/services/email.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ describe('Testing email service', () => {

expect(sendMock).toHaveBeenCalled();
const emailMock = sendMock.mock.calls[0][0];
expect(emailMock.to).toEqual(emailArr);
expect(emailMock.bcc).toEqual(emailArr);
expect(emailMock.subject).toEqual('Listing approval requested');
expect(emailMock.html).toMatch(
`<img src="https://housingbayarea.mtc.ca.gov/images/doorway-logo.png" alt="Bloom Housing Portal" width="300" height="65" class="header-image"/>`,
Expand Down Expand Up @@ -378,7 +378,7 @@ describe('Testing email service', () => {

expect(sendMock).toHaveBeenCalled();
const emailMock = sendMock.mock.calls[0][0];
expect(emailMock.to).toEqual(emailArr);
expect(emailMock.bcc).toEqual(emailArr);
expect(emailMock.subject).toEqual('Listing changes requested');
expect(emailMock.html).toMatch(
`<img src="https://housingbayarea.mtc.ca.gov/images/doorway-logo.png" alt="Bloom Housing Portal" width="300" height="65" class="header-image"/>`,
Expand Down Expand Up @@ -423,7 +423,7 @@ describe('Testing email service', () => {

expect(sendMock).toHaveBeenCalled();
const emailMock = sendMock.mock.calls[0][0];
expect(emailMock.to).toEqual(emailArr);
expect(emailMock.bcc).toEqual(emailArr);
expect(emailMock.subject).toEqual('New published listing');
expect(emailMock.html).toMatch(
`<img src="https://housingbayarea.mtc.ca.gov/images/doorway-logo.png" alt="Bloom Housing Portal" width="300" height="65" class="header-image"/>`,
Expand Down

0 comments on commit ed786fb

Please sign in to comment.