Skip to content

Commit

Permalink
MOL-401: update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tdang1-shopmacher committed Sep 9, 2024
1 parent 5cb1be9 commit 0ba2e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions processor/tests/mollie/profile.mollie.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('Test profile.mollie.ts', () => {
},
});

await expect(getProfile()).rejects.toThrow(errorMessage);
await expect(getProfile()).resolves.toThrow(errorMessage);
});

it('should return unknown errors when fetching the profile', async () => {
Expand All @@ -54,6 +54,6 @@ describe('Test profile.mollie.ts', () => {
},
});

await expect(getProfile()).rejects.toThrow(errorMessage);
await expect(getProfile()).resolves.toThrow(errorMessage);
});
});

0 comments on commit 0ba2e48

Please sign in to comment.