mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
test(connection): allow non-Error rejection fixture
This commit is contained in:
@@ -144,6 +144,7 @@ describe('connection lifecycle', () => {
|
||||
{ label: 'ends normally', fail: () => Promise.resolve() },
|
||||
{
|
||||
label: 'rejects with a non-Error reason',
|
||||
// oxlint-disable-next-line typescript/prefer-promise-reject-errors -- the non-Error rejection is the scenario under test
|
||||
fail: () => Promise.reject('fixture offline'),
|
||||
},
|
||||
])('retries when the generation source $label before reporting ready', async ({ fail }) => {
|
||||
|
||||
Reference in New Issue
Block a user