Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.87 KB

README.md

File metadata and controls

20 lines (12 loc) · 1.87 KB

easy-test

npm version npm downloads pipeline status quality gate semantic-release coverage

A simple, straightforward small library for testing microservices that have been built with the @thisisagile/easy library, based on Jest.

We also include some commodity utilities for making testing with Jest easier, and a monad for making custom Jest matchers. We've added matchers for:

  • toBeValid(). Checks for isValid property on subject.
  • toBeArrayOf(). Validates if a subject is an array, and if all elements are instances of the type.

Please note: we are slowly adding more value to the library, step by step. Most of our additions are useful as such, both it will take some effort for the full architecture to be in place to implement fully working microservices. Please bare with us.