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('/');
|
||||
}
|
||||
|
||||
getParagraphText() {
|
||||
text() {
|
||||
return browser.findElement(by.css('body')).getText();
|
||||
}
|
||||
}
|
||||
|
||||
@ -115,6 +115,7 @@ function moveFiles() {
|
||||
|
||||
function dedup(array: any[]): any[] {
|
||||
const res = [];
|
||||
|
||||
array.forEach(a => {
|
||||
if (res.indexOf(a) === -1) {
|
||||
res.push(a);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user