INTERACTIVE DEMOS

@dannysir/js-te

Jest-style test framework on top of Node native loader hooks

A Jest-style test framework. The real library runs on top of Node.js native loader hooks, but this page only mimics the core API (describe/test/expect/fn/test.each) in a tiny browser runner. Module mocking (mock()) can't be simulated in the browser, so we just show the code.

demo.test.js
Editor
TerminalReady

Click Run tests to see results