test update

This commit is contained in:
Katie Kroell 2023-10-20 14:40:54 -04:00
parent e618b26624
commit 97d93cf594

View file

@ -1169,8 +1169,9 @@ describe('Store', () => {
}); });
}); });
describe('unsuccessful api call', () => { describe('unsuccessful api call', () => {
it('api call throws exception', async () => { it.only('api call throws exception', async () => {
// Arrange // Arrange
expect.assertions(2);
const error = 'final deductible error'; const error = 'final deductible error';
globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.reject(error)); globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.reject(error));