Просмотр исходного кода

test(connection): allow non-Error rejection fixture

imccyu 1 месяц назад
Родитель
Сommit
26f1eda42a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/client/connection/tests/connection.client.spec.ts

+ 1 - 0
packages/client/connection/tests/connection.client.spec.ts

@@ -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 }) => {