npm
npmjs.com › package › jest-preset-angular
jest-preset-angular - npm
1 week 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 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
Jest configuration preset for Angular projects. Contribute to thymikee/jest-preset-angular development by creating an account on GitHub.
Starred by 917 users
Forked by 304 users
Languages TypeScript 91.7% | JavaScript 5.1% | CSS 2.8%
GitHub
github.com › thymikee › jest-preset-angular › blob › main › CHANGELOG.md
jest-preset-angular/CHANGELOG.md at main · thymikee/jest-preset-angular
feat: allow to customize testEnvironment via preset creator functions (80c95e8) feat: upgrade jest to 30 (51df6ec) refactor: mark jest-environment-jsdom as peer dependency (f9e2b70) refactor: drop support for jsdom <22 (da9cb15) refactor: drop support for typescript <5.4 (873ab73) refactor: drop support for Angular <17 (3a60492) refactor: drop support for Node.js <18 (aeef774) refactor: remove defaults and defaults-esm presets (94dd3b1) refactor: remove setup-jest files (6bf89a4) refactor: remove global setup script with ngcc (35819c9) Jest 30 is required ·
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 › introduction
Introduction | jest-preset-angular
April 8, 2026 - jest-preset-angular is Jest preset configuration and TypeScript preprocessor with source map support for Jest that lets you use Jest to test Angular projects.
Thymikee
thymikee.github.io › presets
Presets | jest-preset-angular
May 9, 2026 - testEnvironment: either jsdom or jest-preset-angular/environments/jest-jsdom-env.
Thymikee
thymikee.github.io › esm support
ESM Support | jest-preset-angular
May 7, 2026 - We have EXAMPLE APPS which contains base ESM setup to work with Jest and Angular. ... Not taking into account of type: "module" field in package.json yet to run as ESM mode. Mocking ES modules are not supported yet, track progress here https://github.com/jestjs/jest/pull/10976 · Overall progress and discussion can be found at https://github.com/jestjs/jest/issues/9430 ... If one is using Jest config in TypeScript, one should install ts-node as a dev dependency.
Snyk
security.snyk.io › snyk vulnerability database › npm
jest-preset-angular | Snyk
Published: 9 years ago Last updated: 1 hours ago Latest version: 17.0.0 Latest non-vulnerable version: 17.0.0 ... Loading chart... ... Further analysis of the maintenance status of jest-preset-angular based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy. We found that jest-preset-angular demonstrates a positive version release cadence with at least one new version released in the past 3 months. As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.
Thymikee
thymikee.github.io › options
Options | jest-preset-angular
May 3, 2026 - jest-preset-angular uses ts-jest options under the hood, which are located under the transform of Jest config object
Thymikee
thymikee.github.io › jest-preset-angular
Jest preset configuration for Angular projects. | jest-preset-angular
Jest preset configuration for Angular projects.
GitHub
github.com › thymikee › jest-preset-angular › releases
Releases · 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
GitHub
github.com › stephanrauh › angular-jest
GitHub - stephanrauh/angular-jest: Testing Angular with Jest · GitHub
The Angular team published experimental support for Jest with Angular 16, but it took me until Angular 17 to take it for a ride. You find the result in the Angular 17 folder.
Starred by 27 users
Forked by 9 users
Languages HTML 60.5% | TypeScript 35.8% | JavaScript 3.1%
GitHub
gist.github.com › ChadESmith42 › e24b86c237c61140e2c63ec42a75e150
Adding Jest to Angular v16+ · GitHub
We need to configure Jest to run in Angular. From the terminal, navigate to the root of your application. ... Open this file in VS Code. If you have enabled the VS Code CLI, you can simply type: ... The empty text file should be available on your screen. Add the following configuration: module.exports = { preset: "jest-preset-angular", setupFilesAfterEnv: ["<rootDir>/setup-jest.ts"], modulePaths: ["<rootDir>"], collectCoverage: true, collectCoverageFrom: ["./src/**"], coverageReporters: ["html"], coverageDirectory: "./coverage", };
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
UNPKG
unpkg.com › browse › jest-preset-angular@8.3.2 › README.md
UNPKG
github.com/thymikee/jest-preset-angular · thymikee/jest-preset-angular · 501 lines (374 loc) • 18.2 kB · Markdown · View Raw · 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15 · 16 · 17 · 18 · 19 · 20 · 21 · 22 · 23 ·
Thymikee
thymikee.github.io › angular >=13
Angular >=13 | jest-preset-angular
May 9, 2026 - Starting from v11.0.0, jest-preset-angular introduces a few extra changes to be able to run Jest with Angular 13:
GitHub
github.com › thymikee › jest-preset-angular › blob › main › package.json
jest-preset-angular/package.json at main · thymikee/jest-preset-angular
"name": "jest-preset-angular", "version": "16.0.0", "description": "Jest preset configuration for Angular projects", "license": "MIT", "engines": { "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "main": "build/index.js", "typings": "build/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/thymikee/jest-preset-angular.git" }, "bugs": { "url": "https://github.com/thymikee/jest-preset-angular/issues" }, "homepage": "https://thymikee.github.io/jest-preset-angular", "author": "Michał Pierzchała <thymikee@gmail.com>", "contributors
Author thymikee
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 ·