Prettified all the things

This commit is contained in:
2020-07-10 22:49:11 +02:00
parent 073b621494
commit ac0b901c35
50 changed files with 2155 additions and 1632 deletions

View File

@@ -16,8 +16,10 @@ describe('workspace-project App', () => {
afterEach(async () => {
// Assert that there are no errors emitted from the browser
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
expect(logs).not.toContain(jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry));
expect(logs).not.toContain(
jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry)
);
});
});

View File

@@ -6,6 +6,8 @@ export class AppPage {
}
getTitleText(): Promise<string> {
return element(by.css('app-root .content span')).getText() as Promise<string>;
return element(by.css('app-root .content span')).getText() as Promise<
string
>;
}
}