@seges/angular-authentication-service
Advanced tools
+1
-1
| { | ||
| "name": "@seges/angular-authentication-service", | ||
| "version": "3.0.2", | ||
| "version": "3.0.3", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -57,6 +57,2 @@ import * as angular from "angular"; | ||
| if (event) { | ||
| event.preventDefault(); | ||
| } | ||
| const queryString = this.$window.location.search; | ||
@@ -63,0 +59,0 @@ if (queryString) { |
@@ -105,10 +105,2 @@ import "angular"; | ||
| it("should prevent default if not authenticated", () => { | ||
| const eventSpy = spyOn(event, "preventDefault"); | ||
| authenticateService.authenticate(event, undefined); | ||
| expect(eventSpy).toHaveBeenCalledTimes(1); | ||
| }); | ||
| it("should redirect with error if querystring attempt is 1", () => { | ||
@@ -115,0 +107,0 @@ $window.location.search = "?attempt=1"; |
16666
-2.01%349
-2.24%