fix(schematics): fix an e2e test

This commit is contained in:
vsavkin 2017-09-13 10:22:40 -04:00
parent c603a834a7
commit d3ffbcef21
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ export class AppPage {
return browser.get('/');
}
getParagraphText() {
text() {
return browser.findElement(by.css('body')).getText();
}
}

View File

@ -115,6 +115,7 @@ function moveFiles() {
function dedup(array: any[]): any[] {
const res = [];
array.forEach(a => {
if (res.indexOf(a) === -1) {
res.push(a);