All Projects → dethcrypto → earl

dethcrypto / earl

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

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to earl

chai-exclude
Exclude keys to compare from a deep equal operation with chai expect or assert.
Stars: ✭ 33 (-84.79%)
Mutual labels:  mocha, chai, assert
Earl
☕ Ergonomic, modern and type-safe assertion library for TypeScript
Stars: ✭ 153 (-29.49%)
Mutual labels:  mocha, chai, assert
fetch-action-creator
Fetches using standardized, four-part asynchronous actions for redux-thunk.
Stars: ✭ 28 (-87.1%)
Mutual labels:  mocha, chai
TvrboReact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-94.01%)
Mutual labels:  mocha, chai
license-key-gen
Generate license keys for given company details
Stars: ✭ 48 (-77.88%)
Mutual labels:  mocha, chai
Redux Actions Assertions
Simplify testing of redux action and async action creators
Stars: ✭ 177 (-18.43%)
Mutual labels:  mocha, chai
BotBlock.org
BotBlock - The List of Discord Bot Lists and Services
Stars: ✭ 29 (-86.64%)
Mutual labels:  mocha, chai
minimal-hapi-react-webpack
Minimal Hapi + React + Webpack + HMR (hot module reloading) Sandbox
Stars: ✭ 55 (-74.65%)
Mutual labels:  mocha, chai
Typescript Restful Starter
Node.js + ExpressJS + Joi + Typeorm + Typescript + JWT + ES2015 + Clustering + Tslint + Mocha + Chai
Stars: ✭ 97 (-55.3%)
Mutual labels:  mocha, chai
api-skel
Webpack + Typescript + Express + Jest + Chai + Gulp
Stars: ✭ 18 (-91.71%)
Mutual labels:  mocha, chai
template-server-nodejs
No description or website provided.
Stars: ✭ 20 (-90.78%)
Mutual labels:  mocha, chai
nodejs-integration-testing
Integration testing of a Node.js / Express.js / Sequelize app
Stars: ✭ 23 (-89.4%)
Mutual labels:  mocha, chai
Cracking The Coding Interview Javascript Solutions Ctci
Javascript solutions to Cracking the Coding Interview (CTCI)
Stars: ✭ 139 (-35.94%)
Mutual labels:  mocha, chai
Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+6340.55%)
Mutual labels:  mocha, chai
javascript-unit-testing-with-mocha
Unit test using Mocha and Chai
Stars: ✭ 104 (-52.07%)
Mutual labels:  mocha, chai
js-stack-from-scratch
🌺 Russian translation of "JavaScript Stack from Scratch" from the React-Theming developers https://github.com/sm-react/react-theming
Stars: ✭ 394 (+81.57%)
Mutual labels:  mocha, chai
React Base
atSistemas React/Redux Isomorphic Platform
Stars: ✭ 82 (-62.21%)
Mutual labels:  mocha, chai
Karma Webpack Example
Karma + Webpack + Mocha + Chai + Istanbul
Stars: ✭ 88 (-59.45%)
Mutual labels:  mocha, chai
react-testing-mocha-chai-enzyme
A solid test setup for React components with Mocha, Chai, Sinon, Enzyme in a Webpack/Babel application.
Stars: ✭ 48 (-77.88%)
Mutual labels:  mocha, chai
aria-vue
Testing tools for Vue components
Stars: ✭ 21 (-90.32%)
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 Join our discord!

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

🐛 💻

Piotr Monwid-Olechnowicz

💻 📖 🚧

Earl logo by @sz-piotr

License

dΞth 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].