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

@@ -79,7 +79,7 @@ describe('EditableTitle', () => {
expect(editableWrapper.find('input').props().type).toBe('text');
});
afterEach(() => {
callback.reset();
callback.resetHistory();
editableWrapper.setState({ title: 'my title' });
editableWrapper.setState({ lastTitle: 'my title' });
});