Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (15 loc) · 672 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 672 Bytes

Jest Object/Array partial match

See the post Jest Array/Object partial match with objectContaining and arrayContaining

Requirements

  • Node 10
  • Yarn 1.x or npm

Setup

  1. Clone the repository
  2. Run yarn or npm install installs all required dependencies.

npm scripts

Equivalent npm run <script> should also work

  • yarn test will run tests with jest
  • yarn lint will lint all of the files with xo
  • yarn format will run lint with --fix option on all the examples files (and tests).

LICENSE

Code is licensed under the MIT License.