As r/iamjediknight (and others) have already mentioned, Vitest is generally considered the more modern tool. It looks like the Angular team is also open to going directly with Vitest, skipping Jest—which, from my side, would be great news. I really hope this happens. Answer from rainerhahnekamp on reddit.com
🌐
npm
npmjs.com › package › @angular-builders › jest
@angular-builders/jest - npm
January 14, 2026 - Allows ng test run with Jest instead of Karma. Latest version: 21.0.3, last published: 4 months ago. Start using @angular-builders/jest in your project by running `npm i @angular-builders/jest`. There are 2 other projects in the npm registry ...
      » npm install @angular-builders/jest
    
Published   Jan 14, 2026
Version   21.0.3
🌐
GitHub
github.com › just-jeb › angular-builders
GitHub - just-jeb/angular-builders: Angular build facade extensions (Jest and custom webpack configuration) · GitHub
Angular build facade extensions (Jest and custom webpack configuration) - just-jeb/angular-builders
Starred by 1.2K users
Forked by 210 users
Languages   TypeScript 76.6% | JavaScript 23.3% | Shell 0.1%
Discussions

Is Jest still going to be integrated officially with Angular?
As r/iamjediknight (and others) have already mentioned, Vitest is generally considered the more modern tool. It looks like the Angular team is also open to going directly with Vitest, skipping Jest—which, from my side, would be great news. I really hope this happens. More on reddit.com
🌐 r/angular
17
35
March 3, 2025
jestjs - Angular configuration when using Jest - Stack Overflow
I've recently switched to Jest for unit testing Previously I was doing this: ng test --configuration=unit-tests But I am not sure how to run my Jest tests with an Angular configuration, I want som... More on stackoverflow.com
🌐 stackoverflow.com
@angular-builders/jest - Support jest.config in typescript
Is your feature request related to a problem? Please describe. According https://jestjs.io/docs/configuration it's possible to use a Typescript jest-config if ts-node is installed, but I tried ... More on github.com
🌐 github.com
2
November 17, 2021
How to provide `setupFilesAfterEnv` to jest when using jest builder.
Angular currently does not support modifying the Jest config or CLI options (that comment refers to Angular providing it's own options to Jest, not exposing them to users). You might be able to get away with adding jest-canvas-mock to test polyfills, I think that runs as part of setupFilesAfterEnv. Otherwise I'd suggest writing the test in such a way to not use Canvas, given that it isn't supported in Jest and the mock doesn't actually do anything meaningful. Also consider sharing your use case on https://github.com/angular/angular-cli/issues/25434 More on reddit.com
🌐 r/Angular2
1
1
November 22, 2024
People also ask

How do I install Jest in an Angular project?
The process involves replacing Karma/Jasmine with Jest and configuring it properly:Uninstall Karma and Jasmine dependenciesInstall Jest, jest-preset-angular, and related packagesCreate and configure jest.config.jsUpdate tsconfig and angular.json to use JestAdd a test script in package.jsonThis setup allows you to run tests faster and with a simpler developer experience compared to the default Angular stack.
🌐
dualbootpartners.com
dualbootpartners.com › home › insights › how to install jest and angular testing library
How to install Jest and Angular Testing Library
Is Angular Testing Library compatible with Angular 17 and standalone components?
Yes, but compatibility depends on the library version. Angular Testing Library continues to evolve alongside Angular, and newer versions support modern Angular features like standalone components. However, as with Jest in Angular 16–17, some integrations may still be evolving or require careful version alignment, so it’s important to verify compatibility between Angular, Jest, and Testing Library versions before implementation.
🌐
dualbootpartners.com
dualbootpartners.com › home › insights › how to install jest and angular testing library
How to install Jest and Angular Testing Library
What is Angular Testing Library and how does it differ from TestBed?
Angular Testing Library is a lightweight set of utilities that helps you test components from the user’s perspective, focusing on behavior rather than implementation details.In contrast, Angular’s TestBed is a more traditional, configuration-heavy tool that mirrors Angular’s internal module system. Testing Library simplifies setup and encourages more maintainable tests by reducing direct interaction with component internals.
🌐
dualbootpartners.com
dualbootpartners.com › home › insights › how to install jest and angular testing library
How to install Jest and Angular Testing Library
🌐
Medium
medium.com › @philip.mutua › setting-up-jest-in-your-angular-16-project-3638ef65f3a3
Setting Up Jest in Your Angular Project | by Philip Mutua | Medium
December 10, 2024 - In your angular application locate the karma.config.js file your angular project has these two files delete them. ... To kickstart your enhanced testing experience, begin by installing the required dependencies using your preferred package manager · # Using Yarn yarn add -D jest jest-preset-angular @types/jest # Using npm npm install -D jest jest-preset-angular @types/jest
🌐
Beyondjava
beyondjava.net › angular-17-jest-mono-repo-just-jeb
How to set up Jest for an Angular 17 monorepo using @ ...
January 1, 2024 - Beyond Java · Sitemap · Talks & Articles · Projects · Guest Posts · About · Legalese · Statistics · (opt out) · Mastodon
🌐
Reddit
reddit.com › r/angular › is jest still going to be integrated officially with angular?
r/angular on Reddit: Is Jest still going to be integrated officially with Angular?
March 3, 2025 -

I've been having a nightmare trying to reconfigure an old project's tests from Jasmine/Karma to Jest, because I have many coworkers advocating for it. But I'm surprised to see that while Karma has been deprecated for almost 2 years now, ng new and the refreshed Angular docs still only go over Karma, and make no mention of Jest or other testing frameworks at all https://angular.dev/guide/testing#other-test-frameworks.

This announcement https://blog.angular.dev/moving-angular-cli-to-jest-and-web-test-runner-ef85ef69ceca mentions @angular-devkit/build-angular:jest but I'm not sure if that's worth using - googling it actually points me to https://www.npmjs.com/package/@angular-builders/jest first but I'm not sure if this is something official.

jest-preset-angular also appears in lots of guides but it seems like every guide has a different way to set that up and I find its documentation kind of a nightmare of its own. Doesn't feel particularly futureproof.

Is Jest going to be a passing fad for Angular? Is there any news of deeper, documented integration anytime soon? Is Web Test Runner support at least close to being ready?

🌐
Snyk
security.snyk.io › package › npm › @angular-builders › jest
angular-builders/jest
Detailed information and remediation guidance for vulnerabilities.
Find elsewhere
🌐
Dualboot Partners
dualbootpartners.com › home › insights › how to install jest and angular testing library
How to install Jest and Angular Testing Library
October 9, 2025 - Update tests configuration in angular.json, remove the whole object in “test” and add this: [dm_code_snippet background=”no” background-mobile=”yes” slim=”no” line-numbers=”no” bg-color=”#abb8c3″ theme=”dark” language=”ruby” wrapped=”no” height=”” copy-text=”Copy Code” copy-confirmed=”Copied”]”test”: { “builder”: “@angular-builders/jest:run” },[/dm_code_snippet]
🌐
npm Trends
npmtrends.com › @angular-builders › jest-vs-jest-preset-angular
@angular-builders/jest vs jest-preset-angular | npm trends
Comparing trends for @angular-builders/jest 20.0.0 which has 164,533 weekly downloads and 1,160 GitHub stars vs. jest-preset-angular 15.0.1 which has 1,076,875 weekly downloads and 913 GitHub stars.
🌐
GitHub
github.com › just-jeb › angular-builders › blob › master › packages › jest › CHANGELOG.md
angular-builders/packages/jest/CHANGELOG.md at master · just-jeb/angular-builders
Angular build facade extensions (Jest and custom webpack configuration) - angular-builders/packages/jest/CHANGELOG.md at master · just-jeb/angular-builders
Author   just-jeb
🌐
Angular
angular.dev › tools › cli › cli-builder
Angular CLI builders • Angular
The return values must always be of type BuilderOutput. This object contains a Boolean success field and an optional error field that can contain an error message. Angular provides some builders that are used by the CLI for commands such as ng build and ng test.
🌐
Cloudsmith
cloudsmith.com › navigator › npm › @angular-builders › jest
@angular-builders/jest (19.0.1) - npm Package Quality | Cloudsmith Navigator
Learn all about the quality, security, and current maintenance status of @angular-builders/jest using Cloudsmith Navigator
🌐
GitHub
github.com › just-jeb › angular-builders › issues › 1057
@angular-builders/jest - Support jest.config in typescript · Issue #1057 · just-jeb/angular-builders
November 17, 2021 - @angular-builders/jest - Support jest.config in typescript#1057 · #1325 · Copy link · myndco · opened · on Nov 17, 2021 · Issue body actions · Is your feature request related to a problem? Please describe.
Author   myndco
🌐
Angular
angular.dev › tools › cli › build-system-migration
Migrating to new build system • Angular
Additionally for existing projects, you can manually opt-in to use the new builder on a per-application basis with two different options. Both options are considered stable and fully supported by the Angular team.
🌐
Angular
angular.dev › tools › cli
Angular CLI • Overview • Angular
Create and run builders to perform complex transformations from your source code to generated build outputs.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › Promise
Promise - JavaScript | MDN
The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.
🌐
Bundlephobia
bundlephobia.com › package › @angular-builders › jest
@angular-builders/jest ❘ Bundlephobia
Find the size of javascript package @angular-builders/jest. Bundlephobia helps you find the performance impact of npm packages.
🌐
Angular Experts
angularexperts.io › blog › total-guide-to-jest-esm-and-angular
Jest ESM - Total Guide To More Than 100% Faster Testing For Angular ⚡ - Angular Experts
January 10, 2023 - This article focuses on Jest ESM integration in standard Angular CLI workspaces using plain jest together with jest-preset-angular. There are many other ways to use Jest with your Angular projects including @angular-builders/jest or out of the box support in NX monorepo.