Skip to content

Commit

Permalink
test: ✅ fix incorrect assertion after prettier bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kfrancois committed Mar 19, 2024
1 parent 3dbd76f commit 1820c3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('Matcher enhancements', () => {
const el = spectator.queryAll('.text-check');
expect(el).toHaveText(['It should', 'different text', 'another']);
expect(el).toContainText(['It should', 'different text', 'another']);
expect(el).toHaveExactText(['It should have', 'Some different text', ' And another one ']);
expect(el).toHaveExactText(['It should have', 'Some different text', 'And another one']);
expect(el).toHaveExactText(['It should have', 'Some different text', 'And another one'], { trim: true });
expect(el).toHaveExactTrimmedText(['It should have', 'Some different text', 'And another one']);
});
Expand Down

0 comments on commit 1820c3f

Please sign in to comment.