优化
This commit is contained in:
@@ -190,3 +190,13 @@ test('Finance-only HTTP entry expands producer prerequisites and runs downloads
|
||||
'finance-direct-paid-isolation', 'finance-downloads',
|
||||
])
|
||||
})
|
||||
|
||||
test('default Admin HTTP entry registers current-code appointment, PDA release, audit and sailing calendar modules', () => {
|
||||
for (const module of ['appointment-work', 'pda-releases', 'audit', 'sailing-calendar',
|
||||
'self-operated-analytics', 'fleet-management']) {
|
||||
assert.match(adminAcceptance, new RegExp(`CONFIGURED_MODULES\\s*=\\s*\\[[^\\]]*'${module}'`, 's'),
|
||||
`${module} must be registered in CONFIGURED_MODULES`)
|
||||
assert.ok(existsSync(resolve(scriptsDir, 'admin-test-env-modules', `${module}.mjs`)),
|
||||
`${module} module file is missing`)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user