@lamnhan/testea

Rewiring, mocking & stubbing for testea modules in Node.

Usage no npm install needed!

<script type="module">
  import lamnhanTestea from 'https://cdn.skypack.dev/@lamnhan/testea';
</script>

README

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.