Skip to content

Commit

Permalink
Fetch settings lazily
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed Mar 21, 2020
1 parent b93eb0f commit 8b75416
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x-pack/test/functional/page_objects/uptime_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ export function UptimePageProvider({ getPageObjects, getService }: FtrProviderCo
const retry = getService('retry');

return new (class UptimePage {
public settings: typeof uptimeService.settings;

constructor() {
this.settings = uptimeService.settings;
public get settings() {
return uptimeService.settings;
}

public async goToRoot() {
Expand Down

0 comments on commit 8b75416

Please sign in to comment.