Files
pnpm/patching/commands/test/utils/index.ts
Zoltan Kochan b103439d9a refactor(test): extract shared DEFAULT_OPTS into @pnpm/testing.command-defaults (#11208)
12 command test suites had near-identical ~50-field DEFAULT_OPTS objects
copy-pasted between them. Extract the common fields into a single shared
package so each suite only declares its overrides.
2026-04-05 21:22:24 +02:00

12 lines
253 B
TypeScript

import { DEFAULT_OPTS as BASE_OPTS } from '@pnpm/testing.command-defaults'
export const DEFAULT_OPTS = {
...BASE_OPTS,
peersSuffixMaxLength: 1000,
supportedArchitectures: {
os: ['current'],
cpu: ['current'],
libc: ['current'],
},
}