remove console.log

This commit is contained in:
Giuseppe Digilio
2022-09-21 09:54:49 +02:00
parent e072cdf75b
commit f2a6b8208f
4 changed files with 0 additions and 5 deletions

View File

@@ -50,7 +50,6 @@ describe('EndUserAgreementGuard', () => {
it('should return true', (done) => {
environment.info.enableEndUserAgreement = false;
guard.canActivate(undefined, Object.assign({ url: 'redirect' })).subscribe((result) => {
console.log(result);
expect(result).toEqual(true);
done();
});

View File

@@ -111,7 +111,6 @@ export class OrcidAuthService {
).pipe(
map(([authorizeUrl, clientId, scopes]) => {
const redirectUri = new URLCombiner(this._window.nativeWindow.origin, encodeURIComponent(this.router.url.split('?')[0]));
console.log(redirectUri.toString());
return authorizeUrl.values[0] + '?client_id=' + clientId.values[0] + '&redirect_uri=' + redirectUri + '&response_type=code&scope='
+ scopes.values.join(' ');
}));

View File

@@ -22,7 +22,6 @@ describe('ItemPageComponent', () => {
class AcceptNoneGuard implements CanActivate {
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
console.log('BLA');
return observableOf(false);
}
}

View File

@@ -196,8 +196,6 @@ describe('SubmissionFormFooterComponent', () => {
const confirmBtn: any = ((document as any).querySelector('.btn-danger:nth-child(2)'));
console.log(confirmBtn);
confirmBtn.click();
fixture.detectChanges();