Skip to content

Commit

Permalink
remove unused wait
Browse files Browse the repository at this point in the history
  • Loading branch information
yujin-emma committed Feb 2, 2024
1 parent e0f7c82 commit 8dbb902
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
"chai": "3.5.0",
"chance": "1.0.18",
"cheerio": "0.22.0",
"chromedriver": "^121.0.0",
"chromedriver": "^119.0.1",
"classnames": "2.3.1",
"compare-versions": "3.5.1",
"d3": "3.5.17",
Expand Down
2 changes: 0 additions & 2 deletions test/functional/apps/management/_import_objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import expect from '@osd/expect';
import path from 'path';
import { keyBy } from 'lodash';
import { wait } from '@hapi/hoek';

const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));

Expand Down Expand Up @@ -251,7 +250,6 @@ export default function ({ getService, getPageObjects }) {
await PageObjects.savedObjects.clickImportDone();
const objects = await PageObjects.savedObjects.getRowTitles();
const isSavedObjectImported = objects.includes('saved object with index pattern conflict');
wait(10000);
expect(isSavedObjectImported).to.be(true);
});

Expand Down

0 comments on commit 8dbb902

Please sign in to comment.