typed-code / schemats

Generate typescript interface definitions from SQL database schema

Home Page:https://www.npmjs.com/package/schemats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rewrite all tests that mocks inner implementations

felixmosh opened this issue · comments

Currently there are many tests that mocks internal implementation in order to test something.

The only think that should be mocked is the "external world", in our case the db client.