rsnext/test/e2e/app-dir
Shu Ding 130ab594cd
Support server-only inside pages/api (#46328)
This can be a special case for the API layer.

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/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`
- [ ]
[e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)

---------
2023-02-24 12:44:12 -08:00
..
app Support server-only inside pages/api (#46328) 2023-02-24 12:44:12 -08:00
app-alias Add experimental route type checking (#45761) 2023-02-11 15:06:39 +00:00
app-basepath Prefix basePath in navigate and prefix methods in app router (#45771) 2023-02-10 13:01:00 +00:00
app-css Fix handle extracted CSS modules without layer info (#46200) 2023-02-22 00:02:48 +01:00
app-edge Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00
app-edge-global Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
app-external Fix client boundary defined in a module (#46171) 2023-02-21 15:20:45 +00:00
app-middleware Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
app-prefetch Add missing isRootLayout when creating optimistic tree (#45899) 2023-02-14 14:06:58 +01:00
app-rendering Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
app-routes Ensure generateStaticParams works in route (#46310) 2023-02-23 18:33:08 +01:00
app-routes-trailing-slash Fix route.js trailingSlash handling (#46185) 2023-02-21 17:19:56 -08:00
app-static update test setup 2023-02-23 09:36:18 -08:00
asset-prefix Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
async-component-preload Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
autoscroll-with-css-modules Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) 2023-02-07 12:03:18 +00:00
back-button-download-bug Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
create-next-app-template Migrate create-next-app and e2e tests to Metadata API. (#45819) 2023-02-23 23:40:06 +00:00
create-root-layout Migrate create-next-app and e2e tests to Metadata API. (#45819) 2023-02-23 23:40:06 +00:00
dynamic Separate next/dynamic implementation for app and pages (#45565) 2023-02-04 01:45:35 +00:00
dynamic-href Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
global-error Update test env variable passing (#44912) 2023-01-15 23:20:16 -08:00
head Add ISR handling for app routes (#46133) 2023-02-21 15:25:42 -08:00
hooks Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00
import Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
interpolability-with-pages Update test env for E2E deploy mode (#44937) 2023-01-16 15:39:54 -08:00
layout-params Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
mdx Add additional tests for @next/mdx (#45585)Co-authored-by: Shu Ding <g@shud.in> 2023-02-11 13:37:00 +01:00
metadata Add test for next-found and redirect for metadata (#46248) 2023-02-22 18:54:14 +01:00
navigation Add test for next-found and redirect for metadata (#46248) 2023-02-22 18:54:14 +01:00
next-font Dedupe next/font preload tags (#46354) 2023-02-24 19:28:27 +01:00
next-image Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
pages-to-app-routing Add client router filter handling (#46283) 2023-02-22 22:02:31 -08:00
parallel-routes-and-interception Add tests for parallel routes / interception and handle router state patch merging client-side (#45615) 2023-02-13 16:12:44 +01:00
rewrites-redirects Update test env for E2E deploy mode (#44937) 2023-01-16 15:39:54 -08:00
root-layout Test navigation between multiple root layouts (#43762) 2023-01-05 13:27:29 +01:00
route-page-manifest-bug Fix manifest error when using route.js (#46102) 2023-02-18 20:31:49 +01:00
router-autoscroll Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) 2023-02-07 12:03:18 +00:00
rsc-basic Migrate create-next-app and e2e tests to Metadata API. (#45819) 2023-02-23 23:40:06 +00:00
test-template/{{ toFileName name }} Add additional tests for @next/mdx (#45585)Co-authored-by: Shu Ding <g@shud.in> 2023-02-11 13:37:00 +01:00
trailingslash Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
use-selected-layout-segment-s Update test env variable passing (#44912) 2023-01-15 23:20:16 -08:00
with-babel Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00