Skip to content

Commit

Permalink
Lint in my pocket
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour committed Aug 4, 2021
1 parent 2e1aff3 commit 631af43
Showing 1 changed file with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const appsMenu = getService('appsMenu');
const kibanaServer = getService('kibanaServer');


async function setDiscoverTimeRange() {
await PageObjects.timePicker.setDefaultAbsoluteRange();
}
Expand All @@ -38,7 +37,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
before(async () => {
// we need to load the following in every situation as deleting
// a space deletes all of the associated saved objects
await kibanaServer.importExport.load('fixtures/kbn_archiver/discover/feature_controls/spaces')
await kibanaServer.importExport.load(
'fixtures/kbn_archiver/discover/feature_controls/spaces'
);
await spacesService.create({
id: 'custom_space',
name: 'custom_space',
Expand All @@ -48,7 +49,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {

after(async () => {
await spacesService.delete('custom_space');
await kibanaServer.importExport.unload('fixtures/kbn_archiver/discover/feature_controls/spaces')
await kibanaServer.importExport.unload(
'fixtures/kbn_archiver/discover/feature_controls/spaces'
);
});

it('shows discover navlink', async () => {
Expand Down Expand Up @@ -82,7 +85,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
before(async () => {
// we need to load the following in every situation as deleting
// a space deletes all of the associated saved objects
await kibanaServer.importExport.load('fixtures/kbn_archiver/discover/feature_controls/spaces')
await kibanaServer.importExport.load(
'fixtures/kbn_archiver/discover/feature_controls/spaces'
);
await spacesService.create({
id: 'custom_space',
name: 'custom_space',
Expand All @@ -92,7 +97,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {

after(async () => {
await spacesService.delete('custom_space');
await kibanaServer.importExport.unload('fixtures/kbn_archiver/discover/feature_controls/spaces')
await kibanaServer.importExport.unload(
'fixtures/kbn_archiver/discover/feature_controls/spaces'
);
});

it(`doesn't show discover navlink`, async () => {
Expand Down

0 comments on commit 631af43

Please sign in to comment.