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