Commit 01614ee
committed
Enhance unit tests by adding beforeAll hook and importing vi from Vitest
- Updated auth and project validator tests to include the beforeAll hook for improved test setup.
- Added import of vi in the config fixture to facilitate mocking capabilities.
These changes improve the structure and functionality of the testing framework.1 parent 4ce0b07 commit 01614ee
3 files changed
Lines changed: 4 additions & 2 deletions
File tree
- api/tests/unit/validators
- upload-api/tests/fixtures
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
0 commit comments