test: align full acceptance contracts
This commit is contained in:
@@ -9,7 +9,8 @@ const acceptance = fs.readFileSync(path.join(here, '..', 'admin-test-env-accepta
|
||||
const finance = fs.readFileSync(path.join(here, 'finance.mjs'), 'utf8')
|
||||
|
||||
test('正式全量验收默认包含 Finance 模块', () => {
|
||||
assert.match(acceptance, /DEFAULT_MODULES\s*=\s*\[[\s\S]*['"]finance['"]/)
|
||||
assert.match(acceptance, /CONFIGURED_MODULES\s*=\s*\[[\s\S]*['"]finance['"]/)
|
||||
assert.match(acceptance, /DEFAULT_MODULES\s*=\s*normalizeModuleOrder\(CONFIGURED_MODULES\)/)
|
||||
})
|
||||
|
||||
test('验收请求器支持并透传额外请求头', () => {
|
||||
|
||||
Reference in New Issue
Block a user