Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 723 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 723 Bytes

Contract Testing using AJV 💻

jest npm

This project is an Contract Test example using JavaScript, Jest and SuperTest.

commands:

installation:

  • npm i

running tests:

  • npm run test

FIX TESTS:

now we use the jsonSchema this way ('type' is "string") because we want the tests to be broken! to fix them open the following path: cypress\fixtures\jsonSchema.json and change line 24 'type' to "integer".