Skip to content

Commit 801a140

Browse files
committed
lower typing delay
1 parent ef7c417 commit 801a140

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/reactpy/testing/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"on",
2828
"1",
2929
}
30-
DEFAULT_TYPE_DELAY = 250 if GITHUB_ACTIONS else 25
30+
DEFAULT_TYPE_DELAY = 50 if GITHUB_ACTIONS else 25
3131

3232

3333
class poll(Generic[_R]): # noqa: N801

tests/test_core/test_events.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from functools import partial
33

44
import pytest
5-
65
import reactpy
76
from reactpy import component, html, use_state
87
from reactpy.core.events import (
@@ -821,7 +820,7 @@ def on_change(event):
821820
# available for server-side flood control on real high-speed
822821
# inputs.
823822
target_text = "hello world this is a test"
824-
await inp.type(target_text, delay=50)
823+
await inp.type(target_text, delay=25)
825824

826825
# Wait a bit for all events to settle
827826
await asyncio.sleep(0.5)

0 commit comments

Comments
 (0)