Skip to content

Commit

Permalink
Fix test for getDispute resolved on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinksi committed Oct 3, 2023
1 parent bec0846 commit 5e006f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/data/disputes/test/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
updateDispute,
updateDisputes,
updateDisputesSummary,
updateErrorForDispute,
} from '../actions';
import { getDispute, getDisputes, getDisputesSummary } from '../resolvers';

Expand Down Expand Up @@ -68,6 +69,9 @@ describe( 'getDispute resolver', () => {
expect.any( String )
)
);
expect( generator.next().value ).toEqual(
updateErrorForDispute( 'dp_mock1', undefined, errorResponse )
);
} );
} );
} );
Expand Down

0 comments on commit 5e006f8

Please sign in to comment.