Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
afterEach(() => {
ReactDOM.unmountComponentAtNode(root);
MockNextTick.next();
jasmine.clock().tick(1);
jasmine.clock().uninstall();
MockPromises.contracts.reset();
MockPromises.uninstall();
MockNow.reset();
MockRaf.reset();
});
afterEach(function() {
MockNow.reset();
MockRaf.reset();
jasmine.clock().uninstall();
});