Skip to content

Commit

Permalink
Eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell committed Feb 12, 2024
1 parent 974d567 commit ba3103f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/lib/retry-logic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { ChtApi } from '../../src/lib/cht-api';
import { mockSimpleContactType } from '../mocks';

import chaiAsPromised from 'chai-as-promised';
import Place from '../../src/services/place';
Chai.use(chaiAsPromised);

const { expect } = Chai;
Expand Down Expand Up @@ -89,7 +90,7 @@ describe('lib/retry-logic', () => {
});
}

it ('throws after persistent conflict', async () => {
it('throws after persistent conflict', async () => {
const testFunction = sinon.stub().rejects(UpdateConflictScenario?.axiosError);
const execute = RetryLogic.retryOnUpdateConflict<string>(testFunction);
await expect(execute).to.eventually.be.rejectedWith('persisted');
Expand Down

0 comments on commit ba3103f

Please sign in to comment.