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
511 B
TypeScript
12 lines
511 B
TypeScript
import { runCacheComponentsErrorsTests } from './shared.util'
|
|
import { registerDynamicRootAndBoundaryTests } from './dynamic-root-and-boundary.util'
|
|
import { registerSyncDynamicTests } from './sync-dynamic.util'
|
|
|
|
// Registers two section groups in one entry: dynamic-root-and-boundary is too
|
|
// small to justify its own CI test file (per-file server boot and, in start
|
|
// mode, build costs).
|
|
runCacheComponentsErrorsTests((ctx) => {
|
|
registerDynamicRootAndBoundaryTests(ctx)
|
|
registerSyncDynamicTests(ctx)
|
|
})
|