Skip to content

Commit d68cd11

Browse files
authored
chore: fix login/logout test + make vitest wait longer for api tests (#876)
1 parent 9c29ca6 commit d68cd11

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/api/commands/log_in_out.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ describe('[api] apify login and logout', () => {
3636
}) as unknown as Record<string, string>;
3737
const userInfoFromConfig = JSON.parse(readFileSync(AUTH_FILE_PATH(), 'utf8'));
3838

39-
expect(errorSpy()).toHaveBeenCalledTimes(1);
4039
expect(lastErrorMessage()).to.include('Success:');
4140

4241
// Omit currentBillingPeriod, It can change during tests

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { defineConfig } from 'vitest/config';
33

44
const isWindows = process.platform === 'win32';
5-
const multiplierFactor = isWindows ? 3 : 1;
5+
const multiplierFactor = isWindows ? 3 : 2;
66

77
export default defineConfig({
88
esbuild: {

0 commit comments

Comments
 (0)