fix(schematics): fix an e2e test
This commit is contained in:
parent
c603a834a7
commit
d3ffbcef21
@ -5,7 +5,7 @@ export class AppPage {
|
|||||||
return browser.get('/');
|
return browser.get('/');
|
||||||
}
|
}
|
||||||
|
|
||||||
getParagraphText() {
|
text() {
|
||||||
return browser.findElement(by.css('body')).getText();
|
return browser.findElement(by.css('body')).getText();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -115,6 +115,7 @@ function moveFiles() {
|
|||||||
|
|
||||||
function dedup(array: any[]): any[] {
|
function dedup(array: any[]): any[] {
|
||||||
const res = [];
|
const res = [];
|
||||||
|
|
||||||
array.forEach(a => {
|
array.forEach(a => {
|
||||||
if (res.indexOf(a) === -1) {
|
if (res.indexOf(a) === -1) {
|
||||||
res.push(a);
|
res.push(a);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user