Skip to content

Commit

Permalink
added global config vars to all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitquette committed Mar 17, 2024
1 parent 4a4c350 commit d1e7414
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vitest-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ import '@testing-library/jest-dom/vitest';
import { beforeAll } from 'vitest';

beforeAll(() => {
globalThis.apiProjectsUrl = '';
globalThis.apiUsersUrl = '';
globalThis.apiReportsUrl = '';
});

0 comments on commit d1e7414

Please sign in to comment.