@lamnhan/testea
v1.0.0
Published
Rewiring, mocking & stubbing for testea modules in Node.
Downloads
24
Readme
@lamnhan/testea
Rewiring, mocking & stubbing for testea modules in Node.
Install globaly, as a CLI:
npm install -g @lamnhan/testea
Or localy:
npm install --save-dev @lamnhan/testea
Use the library:
import { mockService } from "@lamnhan/testea";
const mocked = mockService({
a: () => 1,
b: async () => 2,
});
// test begins
See the documentation at: http://lamnhan.com/testea
License
@lamnhan/testea is released under the MIT license.
⚡️ This document is generated automatically using @lamnhan/ayedocs.