优化
This commit is contained in:
@@ -25,3 +25,19 @@ test('does not mutate historical fixtures or remove retained records', () => {
|
||||
assert.match(source, /fixtureMarker/)
|
||||
assert.match(source, /context\.marker = originalMarker/)
|
||||
})
|
||||
|
||||
test('covers simplified clearance and customs actions through public multipart upload and complete APIs', () => {
|
||||
assert.match(source, /new FormData\(\)/)
|
||||
assert.match(source, /form\.append\('file'/)
|
||||
assert.match(source, /form\.append\('expectedVersion'/)
|
||||
assert.match(source, /form\.append\('operationReason'/)
|
||||
assert.match(source, /'Idempotency-Key'/)
|
||||
assert.match(source, /clearancePath\}\/document\/upload/)
|
||||
assert.match(source, /clearancePath\}\/complete/)
|
||||
assert.match(source, /customsPath\}\/document\/upload\?\$\{warehouse\}/)
|
||||
assert.match(source, /customsPath\}\/complete\?\$\{warehouse\}/)
|
||||
assert.match(source, /matrix\.pages\.containerLoading\.actions/)
|
||||
assert.match(source, /matrix\.pages\.loadingLists\.actions/)
|
||||
assert.doesNotMatch(source, /internal\/file|business-files/)
|
||||
assert.doesNotMatch(source, /\{\s*fileId\s*:/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user