All Projects → earl-js → Earl

earl-js / Earl

Licence: mit
☕ Ergonomic, modern and type-safe assertion library for TypeScript

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Earl

Enzyme
JavaScript Testing utilities for React
Stars: ✭ 19,781 (+12828.76%)
Mutual labels:  jest, mocha, chai
Redux Actions Assertions
Simplify testing of redux action and async action creators
Stars: ✭ 177 (+15.69%)
Mutual labels:  jest, mocha, chai
Jest Codemods
Codemods for migrating to Jest https://github.com/facebook/jest 👾
Stars: ✭ 731 (+377.78%)
Mutual labels:  jest, mocha, chai
earl
☕ Ergonomic, modern and type-safe assertion library for TypeScript
Stars: ✭ 217 (+41.83%)
Mutual labels:  mocha, chai, assert
patent-free-react-ecosystem-migration-plan
Patent Free React Ecosystem Migration Plan
Stars: ✭ 15 (-90.2%)
Mutual labels:  mocha, jest, chai
qa-automation-base
There are basic projects for automation frameworks based on Kotlin/Java and TypeScript for the backend, frontend, and mobile.
Stars: ✭ 45 (-70.59%)
Mutual labels:  mocha, jest, chai
chai-exclude
Exclude keys to compare from a deep equal operation with chai expect or assert.
Stars: ✭ 33 (-78.43%)
Mutual labels:  mocha, chai, assert
eslint-config-adjunct
A reasonable collection of plugins to use alongside your main esLint configuration
Stars: ✭ 39 (-74.51%)
Mutual labels:  mocha, jest, chai
Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+9034.64%)
Mutual labels:  jest, mocha, chai
Cracking The Coding Interview Javascript Solutions Ctci
Javascript solutions to Cracking the Coding Interview (CTCI)
Stars: ✭ 139 (-9.15%)
Mutual labels:  mocha, chai
Tvrboreact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-91.5%)
Mutual labels:  mocha, chai
Redux Saga Testing
A no-brainer way of testing your Sagas
Stars: ✭ 150 (-1.96%)
Mutual labels:  jest, mocha
Public
Repository for wallaby.js questions and issues
Stars: ✭ 662 (+332.68%)
Mutual labels:  jest, mocha
Istanbuljs
monorepo containing the various nuts and bolts that facilitate istanbul.js test instrumentation
Stars: ✭ 656 (+328.76%)
Mutual labels:  jest, mocha
Node Express Mongodb Jwt Rest Api Skeleton
This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp
Stars: ✭ 603 (+294.12%)
Mutual labels:  mocha, chai
Chakram
REST API test framework. BDD and exploits promises
Stars: ✭ 912 (+496.08%)
Mutual labels:  mocha, chai
Aws Testing Library
Chai (https://chaijs.com) and Jest (https://jestjs.io/) assertions for testing services built with aws
Stars: ✭ 52 (-66.01%)
Mutual labels:  jest, chai
React Progressive Web App
An opinionated React based repository which is optimized for Progressive Web App development.
Stars: ✭ 548 (+258.17%)
Mutual labels:  mocha, chai
Jobsort
job board that queries hacker news who is hiring job listings from a database and sorts by tech the user knows and how well the user knows them
Stars: ✭ 20 (-86.93%)
Mutual labels:  mocha, chai
Bombanauts
Bombanauts, inspired by the original Bomberman game, is a 3D multiplayer online battle arena (MOBA) game where players can throw bombs at each other, make boxes explode, and even other players!
Stars: ✭ 54 (-64.71%)
Mutual labels:  mocha, chai

Earl

Ergonomic, modern and type-safe assertion library for TypeScript

Brings good parts of Jest back to good ol' Mocha

Build status Software License All contributors

Features

  • 💪 Powerful validators and matchers
  • 🤖 Type-safe - written in TypeScript and goes well with static analysis
  • 🎭 Builtin support for mocks
  • ☕ Works great with Mocha
  • 📸 Snapshot testing
  • 🔌 Extensible with plugins

Installation

npm install --save-dev earljs

Example

import { expect } from 'earljs'

// ...

expect(response).toEqual({
  body: { trimmed: true, timestamp: expect.a(String) },
})

Docs

✨ Contributors

We welcome all kinds of contributions! Read our contributing guide.

Thanks goes to these wonderful people (emoji key):


Kris Kaczor

💻 🤔 🎨 📖 🚧

Piotr Szlachciak

💻 🤔 🎨 📖 🚧

Artur Kozak

🤔

Leonid Logvinov

📖 💻

Ivan Pantic

📖

grzpab

💻 📖

Krzysztof Jelski

🤔

Rafał Krupiński

🐛 💻

Earl logo by @sz-piotr

License

Kris Kaczor MIT

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].