test update
This commit is contained in:
parent
e618b26624
commit
97d93cf594
1 changed files with 2 additions and 1 deletions
|
|
@ -1169,8 +1169,9 @@ describe('Store', () => {
|
|||
});
|
||||
});
|
||||
describe('unsuccessful api call', () => {
|
||||
it('api call throws exception', async () => {
|
||||
it.only('api call throws exception', async () => {
|
||||
// Arrange
|
||||
expect.assertions(2);
|
||||
const error = 'final deductible error';
|
||||
globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.reject(error));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue