Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meniRoy committed Sep 25, 2023
1 parent 542b3d1 commit ff5fdee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/integration/suite/authentication.test.it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const initMocksAndLogin = async (moreOrgs: typeof selectedOrg[] = []) => {
};

suite("authentication", function () {
this.timeout(1000 * 600);
this.timeout(1000 * 10);

afterEach(async () => {
await logout();
Expand All @@ -56,7 +56,7 @@ suite("authentication", function () {
mockRedeployApiResponse(environmentMock.id, auth, onRedeployCalled);

vscode.commands.executeCommand("env0.redeploy", getFirstEnvironment());
await waitFor(() => expect(onRedeployCalled).toHaveBeenCalled(), 10);
await waitFor(() => expect(onRedeployCalled).toHaveBeenCalled());
});

test("should call redeploy with updated credentials when logout and login again ", async () => {
Expand Down

0 comments on commit ff5fdee

Please sign in to comment.