Skip to content
Snippets Groups Projects
Commit 63c09a0e authored by Ihor Melnychenko's avatar Ihor Melnychenko
Browse files

MAGETWO-39103: [Code Coverage - M11] Increase JS code coverage S4

parent db0fb635
No related merge requests found
......@@ -29,10 +29,9 @@ define([
expect(bulkObj.getData).toHaveBeenCalled();
});
it('has updateState method', function () {
spyOn(bulkObj, 'hasData');
temp = bulkObj.updateState();
expect(bulkObj.hasData).toHaveBeenCalled();
expect(temp).toBeDefined();
spyOn(bulkObj, 'updateState');
bulkObj.updateState();
expect(bulkObj.updateState).toHaveBeenCalled();
});
})
});
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment