GitHub
github.com › thymikee › jest-preset-angular
GitHub - thymikee/jest-preset-angular: Jest configuration preset for Angular projects. · GitHub
Jest configuration preset for Angular projects. Contribute to thymikee/jest-preset-angular development by creating an account on GitHub.
Starred by 916 users
Forked by 304 users
Languages TypeScript 89.7% | JavaScript 7.1% | CSS 2.8%
GitHub
github.com › jestjs › jest › issues › 15418
[Bug]: Jest tests failing in a NX project with Angular 19 + Openlayers 10 + Typescript 5.6 · Issue #15418 · jestjs/jest
December 12, 2024 - You can see here the commit details: ricardojbertolin/angular-19-demo@4029b4c · After that, tests for this main component started to fail. In older versions of Angular this didn't break down and worked as expected. ... System: OS: Windows 11 10.0.22621 CPU: (12) x64 13th Gen Intel(R) Core(TM) i7-1365U Binaries: Node: 22.11.0 - C:\Program Files\nodejs\node.EXE npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD npmPackages: jest: 29.7.0 => 29.7.0
Author ricardojbertolin
Jest not work after migrating to Angular 19.x ( Unexpected token "export" )
Bug Report or Feature Request (mark with an x) bug report -> please search for issues before submitting feature request Versions. keycloak-angular: 19.0.2 keycloak-js: 26.0.7 angular: 19.0.6 jest: ... More on github.com
Performance regression on jest tests after upgrading to Angular 19
Describe the Bug Since we upgraded to Angular 19, with @angular-builders/jest 19 too, we have a huge performance regression. Locally and in our CI of our project, tests went from around 2 minutes o... More on github.com
Jest in Angular.
I have it running in a smaller app I just built for work. We have about 85 test suites and 950+ tests, at last count. Takes less than a minute to run. I like Jest better than Karma/Jasmine. More on reddit.com
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
Videos
06:21
201. Angular Unit Testing: How to test a component in Angular 19 ...
01:00
How to setup a component for unit testing in Angular 19 - YouTube
19:48
Angular Unit Testing Crash Course - Make Your Project Bullet Proof ...
11:31
Instala y Configura Jest en Angular 20 – Paso a Paso - YouTube
19:08
Inputs Required & Standalone Components con Jest - Testing unitario ...
01:13
[Article] Quickstart: Angular 19 Testing with Jest and Neovim - ...
Thymikee
thymikee.github.io › installation
Installation | jest-preset-angular
1 month ago - You can install jest-preset-angular and dependencies all at once with one of the following commands. ... Angular doesn't support native async/await in testing with target higher than ES2016, see https://github.com/angular/components/issues/21632#issuecomment-764975917 ... For ESM configuration, ...
GitHub
github.com › stephanrauh › angular-jest
GitHub - stephanrauh/angular-jest: Testing Angular with Jest · GitHub
Testing Angular with Jest. Contribute to stephanrauh/angular-jest development by creating an account on GitHub.
Starred by 27 users
Forked by 9 users
Languages HTML 60.5% | TypeScript 35.8% | JavaScript 3.1%
GitHub
github.com › mauriciovigolo › keycloak-angular › issues › 613
Jest not work after migrating to Angular 19.x ( Unexpected token "export" ) · Issue #613 · mauriciovigolo/keycloak-angular
January 14, 2025 - 5 | export const internalEnsureAuthenticated = async (_route: ActivatedRouteSnapshot, state: RouterStateSnapshot, authData: AuthGuardData) => { at Runtime.createScriptFromCode (../../../node_modules/jest-runtime/build/index.js:1505:14) at Object.<anonymous> (../../../node_modules/keycloak-angular/fesm2022/keycloak-angular.mjs:6:22) at Object.<anonymous> (web/src/ensure-authenticated.guard.ts:2:1) at Object.<anonymous> (web/src/ensure-authenticated.guard.spec.ts:4:1)
Author ValentinDEJ
npm
npmjs.com › package › jest-preset-angular
jest-preset-angular - npm
1 month ago - A preset of Jest configuration for Angular projects. Our online documentation is available at https://thymikee.github.io/jest-preset-angular/
» npm install jest-preset-angular
Published Apr 09, 2026
Version 16.1.4
Thymikee
thymikee.github.io › presets
Presets | jest-preset-angular
1 month ago - { "moduleFileExtensions": ["ts", "html", "js", "json", "mjs"], "snapshotSerializers": [ "jest-preset-angular/build/serializers/html-comment", "jest-preset-angular/build/serializers/ng-snapshot", "jest-preset-angular/build/serializers/no-ng-attributes" ], "testEnvironment": "jsdom", "transform": { "^.+\\.(ts|js|mjs|html|svg)$": [ "jest-preset-angular", { "stringifyContentPathRegex": "\\.(html|svg)$", "tsconfig": "<rootDir>/tsconfig.spec.json" } ] }, "transformIgnorePatterns": ["node_modules/(?!(.*\\.mjs$|@angular/common/locales/.*\\.js$))"] }
GitHub
github.com › just-jeb › angular-builders › tree › master › packages › jest
angular-builders/packages/jest at master · just-jeb/angular-builders
The builder comes to provide zero configuration setup for Jest while keeping the workspace clear of boilerplate code. Click to expand · Version 19 · Version 18 · Version 17 · Version 16 · Version 15 · Version 14 · Version 13 · Version 12 · Version 11 · Version 10 · Version 9 · Version 8 · Version 7 · Angular CLI 20 ·
Author just-jeb
GitHub
github.com › just-jeb › angular-builders
GitHub - just-jeb/angular-builders: Angular build facade extensions (Jest and custom webpack configuration) · GitHub
The purpose of this repository is to consolidate all the community builders for Angular build facade. Builders' and Angular major versions must match. Click to expand · Version 20 · Version 19 · Version 18 · Version 17 · Version 16 · Version ...
Starred by 1.2K users
Forked by 210 users
Languages TypeScript 76.6% | JavaScript 23.3% | Shell 0.1%
GitHub
github.com › thymikee › jest-preset-angular › blob › main › CHANGELOG.md
jest-preset-angular/CHANGELOG.md at main · thymikee/jest-preset-angular
February 27, 2026 - Jest configuration preset for Angular projects. Contribute to thymikee/jest-preset-angular development by creating an account on GitHub.
Author thymikee
GitHub
github.com › just-jeb › angular-builders › issues › 1899
Performance regression on jest tests after upgrading to Angular 19 · Issue #1899 · just-jeb/angular-builders
January 15, 2025 - Describe the Bug Since we upgraded to Angular 19, with @angular-builders/jest 19 too, we have a huge performance regression. Locally and in our CI of our project, tests went from around 2 minutes of execution time to 15 minutes. Minimal ...
Author Abreuvoir
Reddit
reddit.com › r/angular › jest in angular.
r/angular on Reddit: Jest in Angular.
December 17, 2024 -
Hello,
I want to hear from the community about Jest tests in Angular.
I have started using it because I listened to some opinions about is fast and "easy" to mock components, services, and so on.
Example:
- I have created a test on a mat toolbar to ensure that some menu items are shown or hidden depending if the user is an admin.
- PR: https://github.com/hseleiro/Organizer/pull/59
- Component: https://github.com/hseleiro/Organizer/blob/test/toolbar-component-jest-test/src/app/shared/components/toolbar.component.ts
- Unit Test: https://github.com/hseleiro/Organizer/blob/test/toolbar-component-jest-test/src/app/shared/components/toolbar.component.spec.ts
Top answer 1 of 5
10
I have it running in a smaller app I just built for work. We have about 85 test suites and 950+ tests, at last count. Takes less than a minute to run. I like Jest better than Karma/Jasmine.
2 of 5
5
I like using Jest with Angular because it offers significantly faster test execution compared to Karma, thanks to its use of a virtual DOM (jsdom) and parallel test running. Jest is easy to set up, provides powerful mocking capabilities, and supports snapshot testing, which helps ensure the UI remains consistent. The clear error reporting and detailed logs make debugging much easier, and tools like @angular-builders/jest simplify its integration into Angular projects. Overall, it improves both test performance and developer experience, making it my preferred choice. The only downside I find with Jest is that when I run it on my computer, it makes it heat up quite a bit. But this can maybe be for all my index.ts files to analyse all dependecies. 😅
GitHub
github.com › ineat › Angular-Jest-Tutorial
GitHub - ineat/Angular-Jest-Tutorial: Angular Jest implementation and tests exemples
Angular Jest implementation and tests exemples. Contribute to ineat/Angular-Jest-Tutorial development by creating an account on GitHub.
Starred by 13 users
Forked by 3 users
Languages TypeScript 80.4% | SCSS 13.1% | HTML 6.1% | JavaScript 0.4% | TypeScript 80.4% | SCSS 13.1% | HTML 6.1% | JavaScript 0.4%
GitHub
github.com › just-jeb › angular-builders › blob › master › packages › jest › README.md
angular-builders/packages/jest/README.md at master · just-jeb/angular-builders
The builder comes to provide zero configuration setup for Jest while keeping the workspace clear of boilerplate code. ... $ npm remove karma karma-chrome-launcher karma-coverage-istanbul-reporter karma-jasmine karma-jasmine-html-reporter $ rm ./karma.conf.js ./src/test.ts · Install the builder (and jest if you still haven't): $ npm i -D jest @types/jest @angular-builders/jest
Author just-jeb
GitHub
github.com › wlucha › angular-starter
GitHub - wlucha/angular-starter: :rocket: Angular 21 Starter with Jest, Playwright, Transloco, Material, Tailwind, Storybook, Docker, ESLint & Prettier :rocket: · GitHub
Audit dependencies for vulnerabilities · angular-starter/ ├── src/ │ ├── app/ # Application source code │ ├── assets/ # Static assets │ ├── environments/ # Environment configs │ └── stories/ # Storybook stories ├── tests/ # Playwright E2E tests ├── angular.json # Angular CLI configuration ├── jest.config.ts # Jest configuration ├── playwright.config.ts # Playwright configuration ├── eslint.config.mjs # ESLint flat config └── tsconfig.json # TypeScript configuration ·
Starred by 411 users
Forked by 92 users
Languages HTML 36.5% | TypeScript 34.4% | MDX 20.3% | CSS 4.7% | JavaScript 3.7% | Dockerfile 0.4%
npm
npmjs.com › package › @angular-builders › jest
angular-builders/jest
January 14, 2026 - Jest runner for Angular build facade. 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 ...
» npm install @angular-builders/jest
Published Jan 14, 2026
Version 21.0.3