rsnext/test/lib
Shu Ding be9491e243
Ensure there is only 1 render pass in concurrent rendering with getInitialProps in _document (#36352)
This PR makes sure `renderPage` calls `renderShell` in concurrent features, and `renderToString` if not.

Closes #36268, #36229.

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2022-04-21 16:01:47 +00:00
..
browsers Do not add locale to link for api route and middleware preflight (#35994) 2022-04-11 15:59:07 +00:00
next-modes fix(next): use moduleGraph.getIssuer to avoid deprecation warning (#36329) (#36330) 2022-04-21 14:14:03 +00:00
amp-test-utils.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
create-next-install.js Ensure eslint plugins dont conflict (#35667) 2022-03-28 12:31:30 -05:00
e2e-utils.ts Add handling for testing against deployments (#36285) 2022-04-20 12:23:09 +00:00
flat-map-polyfill.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
mocks-require-hook.js Validate streaming writer chunk type in testing (#36200) 2022-04-18 16:24:06 +02:00
next-test-utils.js Ensure there is only 1 render pass in concurrent rendering with getInitialProps in _document (#36352) 2022-04-21 16:01:47 +00:00
next-webdriver.ts fix: add locale prefix to middleware preflight url (#35911) 2022-04-07 11:39:49 +00:00
react-17-require-hook.js Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00
with-react-17.js Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00