feat: bump sinon to latest (#9926)

This commit is contained in:
Ville Brofeldt
2020-05-27 19:34:40 +03:00
committed by GitHub
parent c4040a2ae0
commit 5ff61048c6
5 changed files with 71 additions and 82 deletions

View File

@@ -62,8 +62,8 @@ describe('ResultSet', () => {
const wrapper = shallow(<ResultSet {...mockedProps} />);
let spy;
beforeEach(() => {
clearQuerySpy.reset();
fetchQuerySpy.reset();
clearQuerySpy.resetHistory();
fetchQuerySpy.resetHistory();
spy = sinon.spy(ResultSet.prototype, 'UNSAFE_componentWillReceiveProps');
});
afterEach(() => {