NagRock / ts-mockito

Mocking library for TypeScript
MIT License
977 stars 93 forks source link

Can we get better docs for arg verification functions please? #177

Open IhsanMujdeci opened 4 years ago

IhsanMujdeci commented 4 years ago

Looking at the source I can see we have functions such as deepEqual notNull, objectContaining which seem nice and are well named but aren't documented anywhere. Can you please document these and also document if custom verifications exist.

IhsanMujdeci commented 4 years ago

So looks like people can make their own matchers if they want if they make a class that extends Matcher. https://github.com/NagRock/ts-mockito/blob/master/src/matcher/type/Matcher.ts

IhsanMujdeci commented 4 years ago

Also just want to say this is a nicely written lib. Were you guys inspired by go and its standard naming and folder layouts?