Skip to content

Commit a6354f4

Browse files
committed
add type hints to new test
1 parent be75c08 commit a6354f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_router.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
from typing import Any
33

4+
from playwright.async_api._generated import Browser
45
from reactpy import Ref, component, html, use_location
56
from reactpy.testing import DisplayFixture
67

@@ -279,7 +280,7 @@ def sample():
279280
assert "/a" in await _link.get_attribute("href")
280281

281282

282-
async def test_ctrl_click(display: DisplayFixture, browser):
283+
async def test_ctrl_click(display: DisplayFixture, browser: Browser):
283284
@component
284285
def sample():
285286
return browser_router(

0 commit comments

Comments
 (0)