Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette authored Mar 25, 2024
2 parents bc2e3e9 + c33d280 commit f17d190
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/html/test/error-boundary.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ describe('Error Boundary', () => {
it('Catches timed out promise', async () => {
const html = await (
<>
<ErrorBoundary catch={<div>1</div>} timeout={5}>
{setTimeout(10, <div>2</div>)}
<ErrorBoundary catch={<div>1</div>} timeout={10}>
{setTimeout(100, <div>2</div>)}
</ErrorBoundary>
</>
);
Expand All @@ -54,8 +54,8 @@ describe('Error Boundary', () => {
it('Renders non timed out promise', async () => {
const html = await (
<>
<ErrorBoundary catch={<div>1</div>} timeout={10}>
{setTimeout(5, <div>2</div>)}
<ErrorBoundary catch={<div>1</div>} timeout={100}>
{setTimeout(10, <div>2</div>)}
</ErrorBoundary>
</>
);
Expand All @@ -71,9 +71,9 @@ describe('Error Boundary', () => {
assert.ok(isTimeoutError(err));
return <div>1</div>;
}}
timeout={5}
timeout={10}
>
{setTimeout(10, <div>2</div>)}
{setTimeout(100, <div>2</div>)}
</ErrorBoundary>
</>
);
Expand Down

0 comments on commit f17d190

Please sign in to comment.