chore: separate lint in travis
This commit is contained in:
parent
4dab16448b
commit
c50954d5b8
|
@ -10,6 +10,7 @@ env:
|
|||
- DISPLAY=:99.0
|
||||
- CHROME_BIN=chromium-browser
|
||||
matrix:
|
||||
- SCRIPT="lint"
|
||||
- SCRIPT="run-e2e-tests --fast"
|
||||
before_install:
|
||||
- npm install -g gulp --no-optional
|
||||
|
@ -22,4 +23,4 @@ install:
|
|||
- npm run webdriver:update --prefix public/docs/_examples/_protractor
|
||||
- gulp add-example-boilerplate
|
||||
script:
|
||||
- gulp lint && gulp $SCRIPT
|
||||
- gulp $SCRIPT
|
||||
|
|
|
@ -15,12 +15,12 @@ describe('Tutorial part 1', () => {
|
|||
});
|
||||
|
||||
it(`should have '${expectedH2}'`, () => {
|
||||
var text = element(by.css('h2')).getText()
|
||||
let text = element(by.css('h2')).getText();
|
||||
expect(text).toEqual(expectedH2);
|
||||
});
|
||||
|
||||
it(`should have input name '${hero.name}'`, () => {
|
||||
var name = element(by.css('input')).getAttribute('value');
|
||||
let name = element(by.css('input')).getAttribute('value');
|
||||
expect(name).toEqual(hero.name);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue