/object-mother-example

Example of how we can use object mother for improving testing strategy

Primary LanguageTypeScriptMIT LicenseMIT

Object Mother Example

Example of how we can use object mothers to improve testing strategy

nodejs

Table of Contents

Preparing environment to contribute

This library has been designed to work with node v16 and npm 8. In order to configure your local environment you can run:

nvm install 18.0.0
nvm use
npm install npm@8.3.0 -g
npm install

Building

npm run build

Testing

Jest with Testing Library

npm run test

Linting

Run the linter

npm run lint

Fix lint issues automatically

npm run lint:fix