🌐
npm
npmjs.com › package › jest-preset-angular
jest-preset-angular - npm
1 week ago - A preset of Jest configuration for Angular projects.
      » npm install jest-preset-angular
    
Published   Jun 09, 2026
Version   16.2.0
🌐
GitHub
github.com › thymikee › jest-preset-angular
GitHub - thymikee/jest-preset-angular: Jest configuration preset for Angular projects. · GitHub
A preset of Jest configuration for Angular projects.
Starred by 917 users
Forked by 304 users
Languages   TypeScript 91.7% | JavaScript 5.1% | CSS 2.8%
Discussions

Jest + Angular v20 + PNPM
Used 19 like that so can't say anything for 20. But 19 was very easy with the jest generator. Maybe try setting everything up with nx, as that should work seamlessly. You can then just use it as a template for config if you don't actually want nx :) More on reddit.com
🌐 r/angular
7
8
June 8, 2025
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
Standalone component doesn't work for new Angular project on version 19
Can you provide a stackblitz with your entire codebase? There are certainly things you can improve like others pointed out, but it doesn't really seems like there is anything inherently wrong with what you provided. Things you can change: standalone: true is no longer needed, it's the default in angular 19 use @for syntax instead of ngFor, so you don't have to import NgFor or CommonModule since you don't actually have a in your template, you don't need to import RouterOutlet However, I doubt any of those influence anything and the problem should be somewhere you did not provide. More on reddit.com
🌐 r/Angular2
18
5
December 23, 2024
🌐
Medium
medium.com › @abhijit_chikane › set-up-jest-in-angular-v20-project-zoneless-replace-karma-jasmine-5ddd5552f2cb
Set Up Jest in Angular(v20+) Project (Zoneless, Replace Karma & Jasmine) | by Abhijit Chikane | Medium
September 3, 2025 - This ensures zoneless testing works properly in your Angular app. Tell TypeScript to use Jest types instead of Jasmine: ... import type { Config } from 'jest'; const config: Config = { preset: 'jest-preset-angular', setupFilesAfterEnv: ['<rootDir>/src/setup-jest.ts'], testPathIgnorePatterns: [ '<rootDir>/node_modules/', '<rootDir>/dist/', ], }; export default config;
🌐
GitHub
github.com › thymikee › jest-preset-angular › blob › main › CHANGELOG.md
jest-preset-angular/CHANGELOG.md at main · thymikee/jest-preset-angular
The supported NodeJs versions are ... https://angular.dev/reference/releases#actively-supported-versions ... Using preset: 'jest-preset-angular' is deprecated....
Author   thymikee
🌐
Thymikee
thymikee.github.io › installation
Installation | jest-preset-angular
2 weeks ago - For ESM configuration, please see more in details with ESM guide. In your project root, create a setup file with following contents: ... Adjust scripts part your package.json to use jest instead of ng, e.g. ... jest-preset-angular uses JSDOM which is different from normal browsers.
🌐
Thymikee
thymikee.github.io › presets
Presets | jest-preset-angular
May 9, 2026 - testEnvironment: either jsdom or jest-preset-angular/environments/jest-jsdom-env.
🌐
DEV Community
dev.to › fransaoco › how-to-set-up-jest-in-angular-19-step-by-step-guide-1c2p
How to Set Up Jest in Angular 19 (Step-by-Step Guide) - DEV Community
April 21, 2025 - #angular #jest #npm · npm install jest jest-preset-angular @types/jest --save-dev · jest: Core testing framework. jest-preset-angular: Adds Angular support for Jest. @types/jest: TypeScript definitions for Jest. npm remove karma ...
Find elsewhere
🌐
npm
npmjs.com › package › @angular-builders › jest
angular-builders/jest
January 14, 2026 - This means that the library you're using doesn't use commonjs module format (which jest expects to see). You will need to implement the recommendations mentioned in jest-preset-angular Troubleshooting Guide.
      » npm install @angular-builders/jest
    
Published   Jan 14, 2026
Version   21.0.3
🌐
Medium
kaleb-dalla.medium.com › how-to-configure-jest-in-your-angular-projects-d29155b8ed01
How to configure Jest in your Angular projects. | by Kaleb Dalla | Medium
November 4, 2024 - Let’s start with the angular.json file. We need to change the test builder from Karma to Jest, and I will also remove the polyfills. Below, you can see the differences: ... Then you need to create a jest.config.js file. You can create this file in the root project tree. On it, we’re going to add the Jest preset and global configuration setup like below:
🌐
Medium
medium.com › @theDevBluePrint › unit-testing-in-angular-with-jest-a-beginners-guide-part-1-a8d7ebcf41bf
Setting Up Jest for Faster Unit Testing in Angular | by TheDevBlueprint | Medium
April 18, 2025 - Learn how to set up Jest for unit testing in Angular! Discover why Jest is faster and more efficient than Karma & Jasmine, and follow a step-by-step guide to configure it in your project
🌐
Tim Deschryver
timdeschryver.dev › blog › integrate-jest-into-an-angular-application-and-library
Integrate Jest into an Angular application and library
After this post was written, someone pointed me to briebug/jest-schematics, which is an schematic that does all these steps above for your. If you run ng add @briebug/jest it adds and configures jest-preset-angular and removes the karma dependencies and files.
🌐
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
🌐
CodeSandbox
codesandbox.io › examples › package › jest-preset-angular
jest-preset-angular examples - CodeSandbox
AboutJest preset configuration for Angular projects1,180,753Weekly Downloads · Latest version16.1.4 · LicenseMIT · Size782.924KbExternal Links · thymikee.github.io/jest-preset-angular · github.com/thymikee/jest-preset-angular · github.com/thymikee/jest-preset-angular/issues ·
🌐
GitHub
github.com › thymikee › jest-preset-angular › issues
Issues · thymikee/jest-preset-angular
Jest configuration preset for Angular projects. Contribute to thymikee/jest-preset-angular development by creating an account on GitHub.
Author   thymikee
🌐
Snyk
security.snyk.io › snyk vulnerability database › npm
jest-preset-angular | Snyk
We found that jest-preset-angular demonstrates a positive version release cadence with at least one new version released in the past 3 months.
🌐
Medium
medium.com › @zeeshankhan8838 › unit-testing-angular-with-jest-configuration-e324ec61620c
Jest Configuration in angular. In this article, I am writing about all… | by zeeshan khan | Medium
March 22, 2023 - In this article, I am writing about all the necessary steps you need to do while configuring jest in angular. ... npm uninstall @types/jasmine jasmine-core karma karma-chrome-launcher karma-coverage karma-jasmine karma-jasmine-html-reporter · After uninstalling packages your package.json file looks like this. package.json after removing karma and jasmine packages ... "jest": { "preset": "jest-preset-angular", "setupFilesAfterEnv": [ "<rootDir>/src/setup.jest.ts" ], "testPathIgnorePatterns": [ "<rootDir>/node_modules/", "<rootDir>/dist/" ], "globals": { "ts-jest": { "tsConfig": "<rootDir>/tsconfig.spec.json", "stringifyContentPathRegex": "\\.html$" } } } "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage" },
🌐
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?

🌐
Medium
medium.com › ngconf › configure-jest-in-angular-18-79765fdb0fae
Step-by-Step Jest Configuration for Angular 18 | ngconf
August 27, 2024 - To use Jest in Angular, you can either set it up with the Angular Jest Runner to run tests with ng test, or configure Jest separately and run tests with the jest command. I prefer not using the Angular Jest Runner because I find it simpler to configure and use Jest on its own. npm install jest \ @types/jest \ @jest/globals \ jest-preset-angular \ --save-dev