Jest Reporter
This is the README for "Jest Reporter". Used only if you are working with the Jest local in the project.
It is running './node_modules/.bin/jest'

Install
##Angular testing con JEST
- Remover cualquier referencia de Jasmine / Karma en el package.json
npm remove '<karma karma-chrome-launcher...>'
- Instalar Jest
npm install --save-dev jest jest-preset-angular @types/jest
- Crear el setup-jest.ts en la carpeta root del proyecto y el contenido es el siguiente
import 'jest-preset-angular/setup-jest';
- Agregar en el package.json, la configuración de Jest
"jest": {
"preset": "jest-preset-angular",
"setupFilesAfterEnv": [
"<rootDir>/setup-jest.ts"
],
"globalSetup": "jest-preset-angular/global-setup"
}
- Configurar JEST en tsconfig.json y tsconfig.spec.json
"types": [
"jest"
]
- Configurar los comandos para ejecutar las pruebas en el package.json
"test": "jest",
"test:watch": "jest --watchAll",
- Remover karma.config.js y el archivo test.ts
Features
Add a menu in the explorer, it allows run the test using Jest (.spec.ts, folders).
For example if there is selected a subfolder under your folder project you will run all test inside of subfolder:

Add a menu in file editor (.spec.ts), it allows run the test using Jest (.spec.ts, folders).

Release Notes
2.1.2
- Enhanced UI with modern design and improved visual feedback
- Added collapsible arrow indicators for test results (up when open, down when closed)
- Only failed tests are now expandable - passed tests are non-interactive for cleaner UI
- Added full test output section showing complete console logs and Jest output
- Footer play button color standardized to blue for consistency
- Improved error message formatting with better stack trace organization
- Added visual distinction between passed and failed tests with color-coded backgrounds
1.5.0
Integration with the VS Code test panel
1.2.3
Added error handler
1.1.0
Added run test again
Added show only errors
1.0.2
Add images
1.0.1
Initial release of ...
@autor (edwinandeka@gmail.com)
Edwin Ramiro Ospina Ruiz
#Contact Us
Thanks!