thymikee / Jest Preset Angular
Licence: mit
Jest configuration preset for Angular projects.
Stars: ✭ 608
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Jest Preset Angular
Graphql Dataloader Boilerplate
Very simple boilerplate using GraphQL and DataLoader
Stars: ✭ 405 (-33.39%)
Mutual labels: jest
Ts Jest
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.
Stars: ✭ 5,380 (+784.87%)
Mutual labels: jest
React Screenshot Test
A dead simple library to screenshot test React components
Stars: ✭ 519 (-14.64%)
Mutual labels: jest
Youtube React
A Youtube clone built in React, Redux, Redux-saga
Stars: ✭ 421 (-30.76%)
Mutual labels: jest
Snowflake
❄️ A React-Native Android iOS Starter App/ BoilerPlate / Example with Redux, RN Router, & Jest with the Snowflake Hapi Server running locally or on RedHat OpenShift for the backend, or a Parse Server running locally or remotely on Heroku
Stars: ✭ 4,576 (+652.63%)
Mutual labels: jest
Jasmine Matchers
Write Beautiful Specs with Custom Matchers for Jest and Jasmine
Stars: ✭ 552 (-9.21%)
Mutual labels: jest
Laravel Vue Boilerplate
🐘 A Laravel 6 SPA boilerplate with a users CRUD using Vue.js 2.6, GraphQL, Bootstrap 4, TypeScript, Sass, and Pug.
Stars: ✭ 472 (-22.37%)
Mutual labels: jest
Jest Clean Console Reporter
A Jest Reporter to group, hide and prettify spammy console warnings
Stars: ✭ 520 (-14.47%)
Mutual labels: jest
Entria Fullstack
Monorepo Playground with GraphQL, React, React Native, Relay Modern, TypeScript and Jest
Stars: ✭ 434 (-28.62%)
Mutual labels: jest
Opensource
Delivering delightful digital solutions. Open Source packages with combined ~85M/month downloads, semantically versioned following @conventional-commits. Fully powered by Jest, @Babel TypeScript, @Airbnb @ESLint + @Prettier, @YarnPKG + @Lerna independent versioning, GH @Actions & automated dep updates with @RenovateBot.
Stars: ✭ 459 (-24.51%)
Mutual labels: jest
React Typescript Web Extension Starter
🖥 A Web Extension starter kit built with React, TypeScript, SCSS, Storybook, Jest, EsLint, Prettier, Webpack and Bootstrap. Supports Google Chrome + Mozilla Firefox + Brave Browser 🔥
Stars: ✭ 510 (-16.12%)
Mutual labels: jest
Native Testing Library
🐳 Simple and complete React Native testing utilities that encourage good testing practices.
Stars: ✭ 526 (-13.49%)
Mutual labels: jest
Differencify
Differencify is a library for visual regression testing
Stars: ✭ 572 (-5.92%)
Mutual labels: jest
Pepperoni App Kit
Pepperoni - React Native App Starter Kit for Android and iOS
Stars: ✭ 4,657 (+665.95%)
Mutual labels: jest
Jest Preset Angular
A preset of Jest configuration for Angular projects.
This is a part of the article: Testing Angular faster with Jest.
Getting Started
These instructions will get you setup to use jest-preset-angular
in your project. For more detailed documentation,
please check online documentation.
Install using yarn
:
yarn add -D jest jest-preset-angular
Or npm
:
npm install -D jest jest-preset-angular
Configuration
In your project root, create setup-jest.ts
file with following contents:
import 'jest-preset-angular/setup-jest';
Add the following section:
- to your root
jest.config.js
// jest.config.js
module.exports = {
preset: 'jest-preset-angular',
setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
};
- or to your root
package.json
{
"jest": {
"preset": "jest-preset-angular",
"setupFilesAfterEnv": ["<rootDir>/setup-jest.ts"]
}
}
Built With
- TypeScript - JavaScript that scales
- Angular - The modern web developer's platform
-
ts-jest
- Jest processor for TypeScript
Authors/maintainers
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].