rsnext/test
k-taro56 91dba7d125
Fix: Throw an error for empty array return in generateStaticParams with output:export (#57053)
Fixes #57038

# What?
Added an error message when `generateStaticParams` returns an empty
array with `output:export`.

# Why?
To provide developers with clear feedback when `generateStaticParams` is
not used correctly.

# How?
Modified the condition checks around the use of `generateStaticParams`
to include a check for an empty array and added a corresponding error
message.

---------

Co-authored-by: Steven <steven@ceriously.com>
2024-01-04 11:45:02 -05:00
..
.stats-app tweak stats action to pull in runtime sizes (#58005) 2023-11-03 23:39:37 +00:00
development Remove extra duplicate pages warning (#60113) 2024-01-02 14:55:55 +01:00
e2e log a dev warning when a missing parallel slot results in a 404 (#60186) 2024-01-04 07:56:20 -08:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration Fix: Throw an error for empty array return in generateStaticParams with output:export (#57053) 2024-01-04 11:45:02 -05:00
lib Allow using ESM pkg with custom incremental cache (#59863) 2024-01-03 14:22:50 +01:00
production transpilePackages should override default settings for external packages (#59385) 2023-12-13 19:04:57 +01:00
unit Always call createPagesMapping for root paths (#60107) 2024-01-02 15:20:05 +01:00
.gitignore ci(workflow): enable test trace upload (#51107) 2023-06-12 17:14:13 +00:00
build-turbopack-tests-manifest.d.ts Update Turbopack test manifest from GitHub Actions artifact (#58394) 2023-11-24 16:48:12 +01:00
build-turbopack-tests-manifest.js Update Turbopack test manifest (#59109) 2023-12-01 10:16:28 +00:00
get-test-filter.js Enable PPR tests for test suites (#59030) 2023-11-29 03:22:45 +00:00
jest-setup-after-env.ts Decrease default test timeouts (#56116) 2023-09-27 23:55:20 +00:00
ppr-tests-manifest.json Partial Pre Rendering Headers (#59447) 2023-12-14 13:14:06 -07:00
readme.md
test-file.txt
tsconfig.json chore: extends from shared base tsconfig (#59776) 2023-12-19 18:52:22 +01:00
turbopack-tests-manifest.json fix: cache next font during development to avoid FOUC (#60175) 2024-01-04 08:54:23 +00:00

See Testing for more information on how you can run/write/debug tests for Next.js.