Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions packages/cli/test/json-stdout-purity.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,17 @@ const FAMILY: Record<string, string[]> = {
// directory gains nothing.
'migrate organization-ownership': [],
'migrate plan': [],
// [ADR-0144] `--object`, `--field` and `--code` are all required, so without
// them the run stops at flag parsing and never boots; the pair named here is
// the fixture's own. A dry run is its DEFAULT and the only form driven here:
// without `--apply` it boots read-only (`deferSchemaDdl` + `readOnlyProbe`)
// and writes nothing. It reads the app objects from the compiled artifact,
// which this fixture deliberately lacks (see the header), so the face driven
// here is its REFUSAL face — "No app objects are loaded" — emitted compact
// (`emitJson(…, 0, { compact: true })`, then `this.exit(1)`) after the boot
// and BEFORE the `finally` shutdown, so the shutdown's diagnostics follow
// the document and must stay off stdout.
'migrate record-currency-codes': ['--object', 'jp_ticket', '--field', 'title', '--code', 'USD'],
'migrate recorded-by': [],
'migrate resume': [],
// A preview is its DEFAULT and the only form driven here: without `--apply`
Expand Down
Loading