Skip to content

Commit

Permalink
test: remove unnecessary sleep from test
Browse files Browse the repository at this point in the history
  • Loading branch information
cemreyavuz committed Sep 26, 2022
1 parent d346322 commit dd8d8fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/core/src/__tests__/cogniteClient.unit.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,7 @@ describe('CogniteClient', () => {
});

let tokenCount = 0;
const mockGetToken = jest.fn(async () => {
await sleepPromise(100);
return `test-token${tokenCount++}`;
});
const mockGetToken = jest.fn(async () => `test-token${tokenCount++}`);

const client = new BaseCogniteClient({
project,
Expand Down

0 comments on commit dd8d8fc

Please sign in to comment.