Skip to content

Commit 7adc109

Browse files
author
OlgaVasyltsun
committed
MC-17754: Message isn't displayed on the error after connection reset and placing order
1 parent 79e4eb0 commit 7adc109

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/model/error-processor.test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ define([
3333
});
3434
});
3535

36+
afterEach(function () {
37+
try {
38+
injector.clean();
39+
injector.remove();
40+
} catch (e) {}
41+
});
42+
3643
describe('Check process method', function () {
3744
it('check on success response with invalid response data', function () {
3845
var messageContainer = jasmine.createSpyObj('globalMessageList', ['addErrorMessage']),

0 commit comments

Comments
 (0)