test(client): update customs write contract count

This commit is contained in:
2026-09-26 12:08:28 +08:00
parent df1ea86278
commit 5feb44abff
+1 -1
View File
@@ -22,7 +22,7 @@ test('sends multi-inbound scope, optimistic versions and idempotency for every w
assert.match(source, /params\.append\('inboundIds', id\)/) assert.match(source, /params\.append\('inboundIds', id\)/)
assert.match(source, /expectedVersion: document\.source\.version/) assert.match(source, /expectedVersion: document\.source\.version/)
assert.match(source, /params: \{ expectedVersion: document\.source\.version \}/) assert.match(source, /params: \{ expectedVersion: document\.source\.version \}/)
assert.equal(source.match(/'Idempotency-Key'/g)?.length, 4) assert.equal(source.match(/'Idempotency-Key'/g)?.length, 6)
assert.match(source, /data\.append\('file', file\)/) assert.match(source, /data\.append\('file', file\)/)
assert.match(source, /file\.size > MAX_CUSTOMS_FILE_SIZE/) assert.match(source, /file\.size > MAX_CUSTOMS_FILE_SIZE/)
}) })