Skip to content

Commit

Permalink
Add Jest to hold ring (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunzip authored Feb 8, 2024
1 parent 9185342 commit adbbf2f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions radar/tools/jest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Jest"
ring: hold
quadrant: "tools"
tags: [typescript, frontend, web, backend, testing]
---

[Jest](https://jestjs.io/) is a JavaScript Testing Framework with a focus on simplicity.

We choose to hold Jest because we are currently using it in our projects, but we are switching to Vitest. Vitest offers Typescript support out of the box, and it's a good fit for our projects, while Jest requires some additional configuration (ie. ts-jest, etc.).

As Vitest offers compatibility with most of the Jest API and ecosystem libraries, so in most projects, it should be a drop-in replacement for Jest. Moreover, Vitest gives you a faster run for your unit tests and a jump in DX thanks to the default watch mode using Vite instant Hot Module Reload (HMR).

0 comments on commit adbbf2f

Please sign in to comment.