Skip to content

Commit 078f387

Browse files
committed
chore: beforeAll, not beforeEach
1 parent 130b782 commit 078f387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/tools/atlas/atlasHelpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { ApiClient } from "../../../../src/common/atlas/apiClient.js";
44
import type { IntegrationTest } from "../../helpers.js";
55
import { setupIntegrationTest, defaultTestConfig, defaultDriverOptions } from "../../helpers.js";
66
import type { SuiteCollector } from "vitest";
7-
import { afterAll, beforeEach, describe } from "vitest";
7+
import { beforeAll, afterAll, describe } from "vitest";
88

99
export type IntegrationTestFunction = (integration: IntegrationTest) => void;
1010

@@ -65,7 +65,7 @@ export function withProject(integration: IntegrationTest, fn: ProjectTestFunctio
6565
}
6666

6767
export function beforeAllWithRetry(fixture: () => Promise<void>): void {
68-
beforeEach(async () => {
68+
beforeAll(async () => {
6969
const MAX_SETUP_ATTEMPTS = 10;
7070
const SETUP_BACKOFF_MS = 10;
7171
let lastError: Error | undefined = undefined;

0 commit comments

Comments
 (0)