Files
apophis-fastify/src/cli/__fixtures__/legacy-config/apophis.config.js
T
John Dvorak 6295c476dc refactor: remove depth/generationProfile tiering, use explicit runs
- Replace TestDepth ('quick'|'standard'|'thorough') with explicit runs:number
- Remove GenerationProfile type and all generationProfile parameters
- schema-to-arbitrary.ts now uses fixed defaults (string≤128, array≤10, props≤6)
- Delete src/cli/core/generation-profile.ts
- Remove --generation-profile CLI flag from verify and qualify
- Remove depth field from PresetDefinition and all preset scaffolds
- Remove generationProfiles from Config interface
- Update all test files: depth:'quick' → runs:10
- Remove depth from all fixture configs
- Update builders.ts, mutation.ts, outbound-mock-runtime.ts
- Build: clean | Tests: 849 pass, 0 fail
2026-04-30 13:47:24 -07:00

37 lines
1017 B
JavaScript

/**
* LEGACY APOPHIS configuration (old-style, for migration tests).
* This uses deprecated field names that should be detected by `apophis migrate`.
*/
export default {
// Deprecated: 'mode' used to be 'testMode'
testMode: "verify",
// Deprecated: 'profiles' used to be 'testProfiles'
testProfiles: {
quick: {
name: "quick",
// Deprecated: 'preset' used to be 'usesPreset'
usesPreset: "safe-ci",
// Deprecated: 'routes' used to be 'routeFilter'
routeFilter: ["GET /legacy"],
},
},
// Deprecated: 'presets' used to be 'testPresets'
testPresets: {
"safe-ci": {
name: "safe-ci",
// Deprecated: 'depth' used to be 'testDepth'
testDepth: "quick",
// Deprecated: 'timeout' used to be 'maxDuration'
maxDuration: 5000,
},
},
// Deprecated: 'environments' used to be 'envPolicies'
envPolicies: {
local: {
name: "local",
// Deprecated: 'allowVerify' used to be 'canVerify'
canVerify: true,
},
},
};