rsnext/test/e2e/app-dir/app-css
Donny/강동윤 d8865d040a
test: Make css bundle assertion work also for turbopack (#62127)
### What?

Fix one assertion about CSS files emitted by turbopack.

### Why?

Turbopack generates `/_next/static/chunks/2225ce._.css`, which does not
match the regex.
Note that it has `._.css`. The previous assertions match on
`[^.]+\.css`, which does not support two dots in the file name.

I tried `/<link rel="stylesheet" href=".+\.css(\?v=\d+)?"/g`, but it
captured 3 `link` tags at once. So I used `/<link rel="stylesheet"
href="[^<]+\.css(\?v=\d+)?"/g`.


### How?

Closes PACK-2413
2024-02-19 03:35:13 +00:00
..
app Turbopack: switch to a single client components entrypoint (#59352) 2023-12-08 08:24:08 +01:00
pages/css-modules Move CSS tests out of the main test suite (#45765) 2023-02-09 23:22:53 +01:00
styles Move CSS tests out of the main test suite (#45765) 2023-02-09 23:22:53 +01:00
index.test.ts test: Make css bundle assertion work also for turbopack (#62127) 2024-02-19 03:35:13 +00:00
mdx-components.jsx Fix CSS imports not included in entries with a custom extension (#46571) 2023-02-28 18:53:48 +00:00
middleware.js Upgrade React (#48589) 2023-04-20 02:05:49 +02:00
next.config.js Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00