(page)
| 340 | |
| 341 | @pytest.mark.asyncio |
| 342 | async def test_expose_function(page): |
| 343 | await page.expose_function("compute", lambda a, b: a * b) |
| 344 | result = await page.evaluate("compute(9, 4)") |
| 345 | assert result == 36 |
| 346 | |
| 347 | |
| 348 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected