13 lines
533 B
JavaScript
13 lines
533 B
JavaScript
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/)
|
||
|
|
})
|