Keep B2 client fixes and move VPS implementation to its standalone repository
This commit is contained in:
@@ -52,3 +52,21 @@ test('durable jobs show recovery independently of a single attempt and stop requ
|
||||
assert.equal(commandPending('accepted'),false);
|
||||
assert.equal(commandPending('stopped'),false);
|
||||
});
|
||||
|
||||
|
||||
test('text output receipt does not falsely claim no response when it cannot correlate SERV OK',()=>{
|
||||
const text={kind:'pulse-output',state:'unconfirmed',description:{encoding:'INTERNAL · FC'}};
|
||||
assert.match(commandReceipt(text),/не содержит идентификатора команды/);
|
||||
assert.doesNotMatch(commandReceipt(text),/Ответ трекера не получен/);
|
||||
assert.equal(commandStatus('unconfirmed'),'Результат не подтверждён');
|
||||
});
|
||||
|
||||
|
||||
test('text transport completion releases queue without claiming execution',()=>{
|
||||
const delivered={kind:'set-output',state:'delivered',delivered_at:100,delivery_seconds:1.5,description:{encoding:'INTERNAL · FC'}};
|
||||
assert.equal(commandPending(delivered.state),false);
|
||||
assert.equal(commandStatus(delivered.state),'Доставлено');
|
||||
assert.equal(commandTone(delivered.state),'neutral');
|
||||
assert.match(commandReceipt(delivered),/Доставка команды подтверждена/);
|
||||
assert.match(commandReceipt(delivered),/не подтверждение переключения/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user