Skip to content

Commit

Permalink
test: fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed Feb 28, 2019
1 parent d3006f4 commit 71fcab9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/app/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import { Injectable } from '@angular/core';
export class AuthService {
constructor() {
localStorage.setItem('token', `token-${new Date().getSeconds()}`);
setInterval(() => {
localStorage.setItem('token', `token-${new Date().getSeconds()}`);
}, 500);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/service-way/service-way.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class ServiceWayComponent implements OnDestroy, OnInit {
};
private ngUnsubscribe: Subject<any> = new Subject();

constructor(private uploadService: UploadxService, private aut: AuthService) {}
constructor(private uploadService: UploadxService, private auth: AuthService) {}

ngOnInit() {
const uploadsProgress = this.uploadService.init(this.options);
Expand Down

0 comments on commit 71fcab9

Please sign in to comment.