| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Looks like CI is failing on an scss issue |
Sorry, something went wrong.
|
I believe the scss issue was due to it building with @angular/material set to beta 1 instead of 2. There is an issue with one of the tests not passing on the ci now, and I'm looking into it 👍 |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good, just a few tests that I think we can cut.
Sorry, something went wrong.
| "@angular/forms": "^2.4.6", | ||
| "@angular/http": "^2.4.6", | ||
| "@angular/material": "^2.0.0-beta.1", | ||
| "@angular/material": "^2.0.0-beta.2", |
There was a problem hiding this comment.
Can revert this line now that we're on beta.3
Sorry, something went wrong.
| fixture.detectChanges(); | ||
| })); | ||
|
|
||
| it('should render four rows of content on the homepage', () => { |
There was a problem hiding this comment.
I don't think we need these homepage tests since it's all just static content.
Sorry, something went wrong.
| .querySelector('.docs-footer-links a'); | ||
| const href = link.getAttribute('href'); | ||
| const text = link.textContent; | ||
| expect(~href.indexOf('angular.io')).toBeTruthy(); |
There was a problem hiding this comment.
Should be able to do
expect(href).toContain('angular.io');
Sorry, something went wrong.
| expect(text).toContain('Learn Angular'); | ||
| }); | ||
|
|
||
| it('should show an angular logo in the footer', () => { |
There was a problem hiding this comment.
I don't think a test for the this is necessary
Sorry, something went wrong.
| fixture.detectChanges(); | ||
| })); | ||
|
|
||
| it('should have four main links', () => { |
There was a problem hiding this comment.
I think this test also isn't needed
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.