Skip to content

A tiny TypeScript library for type-safe function mocks in unit tests

Notifications You must be signed in to change notification settings

milichev/mock-typed-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monorepo for the mock-typed library

This is a monorepo for the mock-typed library used for type safe and convenient mocking in jest and vi unit tests.

Usage

See the respective usage descriptions:

Testing

Run pnpm run test in the respective package.

Contribution

Add your feature or fix and create a Pull Request.

To bump the version of the packages without committing changes, run the following terminal command:

pnpm version 1.2.3 -r --no-commit-hooks --no-git-tag-version -ws --no-workspaces-update

Where 1.2.3 is the new semver.

Credits

The monorepo structure is inspired by eslint-typescript-custom-rule by Vincent François .

About

A tiny TypeScript library for type-safe function mocks in unit tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors