mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
4df37b6eed
See https://github.com/vercel/next.js/pull/95553 for an explanation of why we want to split these up. TL;DR it makes CI faster and saves us some money. In CI we have to run tests at the suite/file granularity, so if a test suite is too long it limits parallelism and if it has to be retried, we have to retry the full suite.
12 lines
472 B
TypeScript
12 lines
472 B
TypeScript
import { runCacheComponentsErrorsTests } from './shared.util'
|
|
import { registerUseCacheTests } from './use-cache.util'
|
|
import { registerUseCachePrivateTests } from './use-cache-private.util'
|
|
|
|
// Registers two section groups in one entry: use-cache-private is too small
|
|
// to justify its own CI test file (per-file server boot and, in start mode,
|
|
// build costs).
|
|
runCacheComponentsErrorsTests((ctx) => {
|
|
registerUseCacheTests(ctx)
|
|
registerUseCachePrivateTests(ctx)
|
|
})
|