docs(test-typescript): rename transpilation issues doc (#26893)
This commit is contained in:
parent
abea8f4d1c
commit
0527006a54
|
|
@ -88,7 +88,7 @@ The `pretest` script runs typescript on the tests. `test` will run the tests tha
|
|||
|
||||
Then `npm run test` will build the tests and run them.
|
||||
|
||||
## Transpilation issues
|
||||
## Using `import` inside `evaluate()`
|
||||
|
||||
Using dynamic imports inside a function passed to various `evaluate()` methods is not supported. This is because Playwright uses `Function.prototype.toString()` to serialize functions, and transpiler will sometimes replace dynamic imports with `require()` calls, which are not valid inside the web page.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue