Skip to content

Commit

Permalink
Minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Mar 2, 2023
1 parent f5af3be commit de2b8fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Page.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ describe('Page', () => {

it('throws an error when placed outside Document', () => {
muteConsole();

expect(() => render(<Page pageIndex={0} />)).toThrow();

restoreConsole();
});
});
Expand Down
2 changes: 2 additions & 0 deletions src/Page/AnnotationLayer.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ describe('AnnotationLayer', () => {

it('throws an error when placed outside Page', () => {
muteConsole();

expect(() => render(<AnnotationLayer />)).toThrow();

restoreConsole();
});
});
Expand Down
2 changes: 2 additions & 0 deletions src/Page/TextLayer.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ describe('TextLayer', () => {

it('throws an error when placed outside Page', () => {
muteConsole();

expect(() => render(<TextLayer />)).toThrow();

restoreConsole();
});
});
Expand Down

0 comments on commit de2b8fc

Please sign in to comment.