@rainydio/contained-substitute
v0.0.2
Published
Substitute through contained-require
Downloads
5
Readme
contained-substitute
Substitute through contained-require
"use strict";
const assert = require("assert");
const csubstitute = require("contained-substitute")(module, [
["./one", "./two"]
]);
const one1 = require("./one");
const one2 = csubstitute("./one");
assert(one1 !== one2);