修正四期全量验收夹具
This commit is contained in:
@@ -210,6 +210,8 @@ test('module is context injected, blocks missing prerequisites and excludes forb
|
||||
assert.doesNotMatch(source, /https?:\/\/|process\.env|fetch\(/)
|
||||
assert.doesNotMatch(source, /addCoverageGap|coverageGap\(/)
|
||||
assert.match(source, /deploymentBlocker: true/)
|
||||
assert.match(source, /contactPhone: '\d+'/)
|
||||
assert.doesNotMatch(source, /contactPhone: '\+[^']+'/)
|
||||
for (const forbidden of ['/outbounds', '/receive-pallets', '/outbound', '/delivery', '/dispatch', '/export']) {
|
||||
assert.equal(source.includes(forbidden), false, forbidden)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user