From d1e741435c017c54c86fa1cd108a40c4fe1c96a1 Mon Sep 17 00:00:00 2001 From: Benoit Quette Date: Sun, 17 Mar 2024 09:50:26 +0100 Subject: [PATCH] added global config vars to all tests --- vitest-setup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vitest-setup.js b/vitest-setup.js index 29ed29e..9df62d9 100644 --- a/vitest-setup.js +++ b/vitest-setup.js @@ -2,4 +2,7 @@ import '@testing-library/jest-dom/vitest'; import { beforeAll } from 'vitest'; beforeAll(() => { + globalThis.apiProjectsUrl = ''; + globalThis.apiUsersUrl = ''; + globalThis.apiReportsUrl = ''; });