Skip to content

Commit

Permalink
settimeout before second test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Nov 6, 2020
1 parent e50ade4 commit 2fcb9f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default function ({ getService }: PluginFunctionalProviderContext) {
});

it('can get all ids', async () => {
await new Promise((resolve) => setTimeout(resolve, 1000 * 5));
const response = await supertest.get('/api/index-patterns-plugin/get-all');
// console.log('***************************', response.body);
expect(response.status).to.equal(200);
Expand Down

0 comments on commit 2fcb9f5

Please sign in to comment.