Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(function () {
jasmine.Ajax.install();
SynchronousPromise.installGlobally();
// Clear localStorage before every test to prevent stored URLs to
// interfere with our setup.
if (isBrowser) {
localStorage.clear();
}
});