Skip to content

Commit

Permalink
chore: fix test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Oct 20, 2024
1 parent eafe5a3 commit b25154a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/render.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ describe('render', () => {
);
}
let rendered = render(
<div class="foo">
<div>
x<a>a</a>
<b>b</b>c{children}d
</div>
);

expect(rendered).not.to.contain(/\s/);
expect(rendered).not.to.match(/\s/);
});

it('should not indent when attributes contain newlines', () => {
Expand Down

0 comments on commit b25154a

Please sign in to comment.