Skip to content

Commit 19fc4a2

Browse files
Increase timeout duration in AsyncContent test to improve reliability
1 parent abdc351 commit 19fc4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_package/tests/streamServerRenderedReactComponent.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ReactOnRails from '../src/ReactOnRails.node.ts';
1010

1111
const AsyncContent = async ({ throwAsyncError }) => {
1212
await new Promise((resolve) => {
13-
setTimeout(resolve, 10);
13+
setTimeout(resolve, 50);
1414
});
1515
if (throwAsyncError) {
1616
throw new Error('Async Error');

0 commit comments

Comments
 (0)