Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

Require‑Hijack is a lightweight Node.js utility that lets developers mock entire `require`‑d modules—replacing a module’s exported class, function, or object—in unit tests. It works by intercepting `require` calls via require‑middleware without touching the module cache, making it suitable for mocking built‑in modules (e.g., `fs`) or any dependency before the tested code is loaded. Ideal for developers who need fine‑grained, full‑module mocking in their test suites.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of adamterlson/require-hijack

Account's avatar
adamterlson/require-middleware
Inject middleware into require calls before they hit the cache, file system, or native modules
Account's avatar
mochajs/mocha
simple, flexible, fun test framework
Account's avatar
chaijs/chai
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
sinonjs/sinon
JavaScript test spies, stubs and mocks.
Account's avatar
chaijs/sinon-chai
Extends Chai with assertions for the Sinon.JS mocking framework.
Account's avatar
gotwarlost/istanbul
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use ca

Support the repos that depend on this repository

Top contributors

adamterlson's profile
adamterlson
44 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet
adamterlson

adamterlson/require-hijack

Mock node require calls, with support for mocking the entire module itself rather than only its properties

JavaScript
1
0
No license