Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/auth #3

Merged
merged 11 commits into from
Oct 12, 2018
Merged

Feature/auth #3

merged 11 commits into from
Oct 12, 2018

Conversation

lukaszgodula
Copy link
Owner

No description provided.

@lukaszgodula lukaszgodula merged commit 2c77d17 into master Oct 12, 2018
},
"private": true,
"dependencies": {
"@angular/animations": "^6.1.7",
"@angular/cdk": "^6.2.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having ^ in version number may result in different package versions installed on CI server. It's more safe to specify exact version, without any modifier.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good catch, will change that :)

@@ -14,6 +15,9 @@ describe('AppComponent', () => {
declarations: [
AppComponent
],
providers: [
{ provide: AuthService, useValue: () => { } }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes more sense to useValue: { }. () => { } is a factory.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, right. TBH during the time I was fixing UT I put on my list TODO: mock Auth Service ;)

@lukaszgodula lukaszgodula deleted the feature/auth branch October 26, 2018 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants