You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Defaults to half the number of CPUs. The tests are not really CPU-bound but rather I/O-bound with all the polling we do so we increase the concurrency to the CPU count. */
36
+
workers: os.cpus().length,
34
37
/* Fail the build on CI if you accidentally left test.only in the source code. */
35
38
forbidOnly: !!process.env.CI,
36
39
/* `next dev` is incredibly buggy with the app dir */
/* Defaults to half the number of CPUs. The tests are not really CPU-bound but rather I/O-bound with all the polling we do so we increase the concurrency to the CPU count. */
34
+
workers: os.cpus().length,
32
35
/* Run tests in files in parallel */
33
36
fullyParallel: true,
34
37
/* Fail the build on CI if you accidentally left test.only in the source code. */
// TODO(v8): Clean this function up by splitting into pageload and navigation instrumentation respectively. Also remove startTransactionCb in the process.
14
16
exportfunctionappRouterInstrumentation(
15
17
startTransactionCb: StartTransactionCb,
16
18
startTransactionOnPageLoad: boolean=true,
17
19
startTransactionOnLocationChange: boolean=true,
20
+
startPageloadSpanCallback: StartSpanCb,
21
+
startNavigationSpanCallback: StartSpanCb,
18
22
): void{
19
23
// We keep track of the active transaction so we can finish it when we start a navigation transaction.
0 commit comments