rsnext/test/e2e
Gal Schlezinger 88d0440ad4
[middleware] Support any method when fetching a Request instance (#37540)
There was a bug that ignored `Request` options when one was given to the `fetch` function:

```ts
const request = new Request("https://example.vercel.sh", { method: "POST" });
await fetch(request);
```

The code above was expected to make a `POST` request, but instead it
made a `GET` request.

This commit fixes it and adds some tests to verify that fetching with a
`Request` object works as expected, and therefore resolves #37123.

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
2022-06-08 11:00:49 +00:00
..
app-dir Update tests root->app (#37477) 2022-06-06 15:38:49 +02:00
basepath Add handling for testing against deployments (#36285) 2022-04-20 12:23:09 +00:00
browserslist Add support for browserslist and legacyBrowsers experimental option (#36584) 2022-05-17 15:09:34 +00:00
browserslist-extends Ensure browserslist extends works properly (#33890) 2022-02-02 13:23:51 -06:00
config-promise-export Add support for async fn / promise in next.config.js/.mjs (#33662) 2022-02-07 08:48:35 +00:00
dynamic-route-interpolation Bug fix: dynamic page should not be interpreted as predefined page (#33808) 2022-02-02 02:57:04 +00:00
dynamic-with-suspense Fix SWC dynamic transform with suspense but without ssr (#36825) 2022-05-17 10:41:17 +00:00
getserversideprops Add handling for testing against deployments (#36285) 2022-04-20 12:23:09 +00:00
i18n-api-support Enable E2E deploy tests on publish (#37019) 2022-05-21 04:46:16 -05:00
i18n-data-fetching-redirect Update deploy E2E test setup (#37126) 2022-05-23 17:37:21 -05:00
ignore-invalid-popstateevent Ignore popstate with invalid state (#37110) 2022-05-28 20:07:44 -05:00
manual-client-base-path Enable E2E deploy tests on publish (#37019) 2022-05-21 04:46:16 -05:00
middleware-can-set-the-matcher-in-its-config Allow Middleware to set its matcher (#37177) 2022-06-03 16:35:44 +00:00
middleware-can-use-wasm-files feat(middleware)!: forbids middleware response body (#36835) 2022-05-19 22:02:20 +00:00
middleware-fetches-with-any-http-method [middleware] Support any method when fetching a Request instance (#37540) 2022-06-08 11:00:49 +00:00
new-link-behavior Add support for passing ref to next/link with new behavior enabled (#36537) 2022-04-28 11:32:32 +02:00
next-head Fix document head with react 18 (#37443) 2022-06-04 10:30:42 +00:00
next-script Fixes beforeInteractive scripts failing in custom document (#37000) 2022-05-18 18:36:11 +00:00
nonce-head-manager correctly assess node equality when nonce attribute is present (#27573) 2021-11-10 19:31:32 -06:00
prerender Show warning during build if page is returning a large amount of data (#37264) 2022-05-29 01:39:48 +00:00
prerender-native-module Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
reload-scroll-backforward-restoration Update deploy E2E test setup (#37126) 2022-05-23 17:37:21 -05:00
styled-jsx Flush initial styled-jsx in gIP first in concurrent rendering (#36594) 2022-05-02 22:52:46 +02:00
swc-warnings Add experimental flag to force SWC transforms (#36789) 2022-05-10 10:33:31 +00:00
type-module-interop fix(#36435): apply correct fix (#36464) 2022-04-26 11:15:49 -05:00
yarn-pnp/test Remove extra yarn PnP example test (#36518) 2022-04-27 11:41:34 -05:00
basepath-trailing-slash.test.ts Ensure trailingSlash is correct for index with query (#29217) 2021-09-21 16:18:42 +02:00
basepath.test.ts Add handling for testing against deployments (#36285) 2022-04-20 12:23:09 +00:00
example.txt Add util for generating new tests/error documents (#33001) 2022-01-06 09:45:04 -06:00
prerender-crawler.test.ts Add crawler blocking for fallback: true (#29121) 2021-09-16 11:01:28 -05:00
prerender-native-module.test.ts Update resolving for node_modules trace pass (#30985) 2021-11-04 20:09:37 -05:00
prerender.test.ts Show warning during build if page is returning a large amount of data (#37264) 2022-05-29 01:39:48 +00:00