playwright/tests
Simon Knott effb1ae234
fix(test runner): align with typescript behaviour for resolving index.js and package.json through path mapping (#32078)
Supercedes https://github.com/microsoft/playwright/pull/31915, closes
https://github.com/microsoft/playwright/issues/31811.

When TypeScript resolves a specifier via path mapping, it does not
interpret `package.json`. If path mapping resolves to a directory, it
only looks at the `index.js` file in that directory if it's in CommonJS
mode.

We need to mirror this in our `esmLoader.ts`.

---------

Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-08-12 15:05:19 +02:00
..
android chore: update flakiness metadata for better ui presentation (#31528) 2024-07-03 08:39:53 -07:00
assets chore: use a single binding for all Playwright needs (#32039) 2024-08-07 06:20:12 -07:00
components chore: rename route fixture in ct (#31817) 2024-07-23 07:43:28 -07:00
config test: unflake various tests (#32014) 2024-08-05 08:29:13 -07:00
electron chore: update flakiness metadata for better ui presentation (#31528) 2024-07-03 08:39:53 -07:00
image_tools chore: bump @babel dependencies (#27632) 2023-10-17 20:52:41 +02:00
installation fix(electron): tracing with @playwright/test (#31437) 2024-07-01 19:19:38 +02:00
library fix(types): revert type changes made to support TS 5.5 (#32066) 2024-08-08 05:21:48 -07:00
page fix(expect): account for timeout during the first locator handler check (#32095) 2024-08-12 01:57:15 -07:00
playwright-test fix(test runner): align with typescript behaviour for resolving index.js and package.json through path mapping (#32078) 2024-08-12 15:05:19 +02:00
stress chore: drop firefox-asan (#30626) 2024-05-01 22:13:00 +00:00
third_party/proxy chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
webview2 chore: update flakiness metadata for better ui presentation (#31528) 2024-07-03 08:39:53 -07:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
tsconfig.json chore: use own socks5 server for tests (#31639) 2024-07-11 14:12:48 +02:00