Put the submit_sm summary back on the function it describes and tidy the review nits

This commit is contained in:
2026-08-30 23:12:22 +02:00
parent 706b61d6ca
commit 140464802b
5 changed files with 6 additions and 5 deletions
-1
View File
@@ -878,7 +878,6 @@ describe('message id notation', () => {
assert.ok(checked.err instanceof Error);
assert.match(checked.err.message, /smsIdFormat\.receipt/);
// The shape todo.md sketched, which a caller without types would otherwise pass unnoticed.
assert.ok(checkSessionOptions({ smsIdFormat: 'hex' }).err instanceof Error);
assert.match(
checkSessionOptions({ smsIdFormat: { receipts: 'decimal' } }).err?.message ?? '',