JSPM

@thisisagile/easy-test

1.20.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8649
  • Score
    100M100P100Q135156F
  • License MIT

Straightforward library for testing microservices built with @thisisagile/easy

Package Exports

  • @thisisagile/easy-test

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thisisagile/easy-test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

easy-test

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

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

Note

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.