Skip to content

Commit

Permalink
Merge pull request #169 from alphagov/add-vite-change
Browse files Browse the repository at this point in the history
Add ADR 33 swapping Jest for Vitest
  • Loading branch information
chao-xian authored Jun 17, 2024
2 parents b57b6ce + 776dbcf commit 041afdf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ADR/ADR033-swapping-jest-vitest.md
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.

0 comments on commit 041afdf

Please sign in to comment.