Skip to content

Commit

Permalink
Fix end-to-end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva137 authored Dec 17, 2024
1 parent 3d4d404 commit 0613965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/tests/end-to-end/api/livechat/contacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ describe('LIVECHAT - contacts', () => {
});

it('should confirm a contact does not exist when checking by email', async () => {
const res = await request.get(api(`omnichannel/contacts.checkExistence`)).set(credentials).query({ email: 'invalid-email' });
const res = await request.get(api(`omnichannel/contacts.checkExistence`)).set(credentials).query({ email: 'invalid-email@example.com' });

Check failure on line 1035 in apps/meteor/tests/end-to-end/api/livechat/contacts.ts

View workflow job for this annotation

GitHub Actions / 🔎 Code Check / Code Lint

Replace `.get(api(`omnichannel/contacts.checkExistence`)).set(credentials)` with `⏎↹↹↹↹.get(api(`omnichannel/contacts.checkExistence`))⏎↹↹↹↹.set(credentials)⏎↹↹↹↹`

expect(res.status).to.be.equal(200);
expect(res.body).to.have.property('success', true);
Expand Down

0 comments on commit 0613965

Please sign in to comment.