Wrap a function. Capture all its logs, stop them from displaying, and store them for later access along with the return value. Makes console log output testing a breeze.
-
Updated
Apr 4, 2017 - TypeScript
Wrap a function. Capture all its logs, stop them from displaying, and store them for later access along with the return value. Makes console log output testing a breeze.
Jsert is a lightweight JavaScript library for writing unit tests for JavaScript code. It is designed to be simple and easy to use, allowing developers to quickly create and run tests for their code. You can test code on the client side (browser) or server side (Node.js).
Add a description, image, and links to the console-log-testing topic page so that developers can more easily learn about it.
To associate your repository with the console-log-testing topic, visit your repo's landing page and select "manage topics."