test: complete phase3 phase4 acceptance coverage

This commit is contained in:
2026-08-25 00:24:43 +08:00
parent 84ad5e779a
commit 73d206e3f3
21 changed files with 908 additions and 69 deletions
@@ -0,0 +1,12 @@
import assert from 'node:assert/strict'
import { readFileSync } from 'node:fs'
import test from 'node:test'
const source = readFileSync(new URL('./master-data.mjs', import.meta.url), 'utf8')
test('non-versioned master data stays explicit without making the full gate permanently red', () => {
assert.match(source, /documented-non-versioned-contract/)
assert.match(source, /\{ blocking: false \}/)
assert.match(source, /非版本化主数据不伪造旧version请求/)
assert.match(source, /phase4-overseas-master-data/)
})