-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from alphagov/add-vite-change
Add ADR 33 swapping Jest for Vitest
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# ADR032: Swapping JS Test Framework Jest for Vitest | ||
|
||
Date: 2024-06-17 | ||
|
||
## Status | ||
|
||
> Accepted | ||
## Context | ||
|
||
Jest tests are compatible with Vitest, but rather than running in a separate pipeline this allows us to consolidate into one run. It also means we have one less moving part to maintain. | ||
|
||
This is a retroactive record of this [PR](https://github.com/alphagov/forms-admin/pull/1209). | ||
|
||
## Decision | ||
|
||
Adopt Vitest for our JS testing framework. | ||
|
||
## Consequences | ||
|
||
One less pipeline and addition to our Javascript build. Everything is Vite based. |