unmock-browser
Version:
Unmock for browser and React Native
12 lines • 504 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const unmock_core_1 = require("unmock-core");
const backend_1 = require("./backend");
if (typeof Buffer === "undefined") {
global.Buffer = require("buffer").Buffer;
}
exports.unmock = new unmock_core_1.UnmockPackage(new backend_1.default());
exports.nock = exports.unmock.mock.bind(exports.unmock);
exports.mock = exports.unmock.mock.bind(exports.unmock);
exports.default = exports.unmock;
//# sourceMappingURL=index.js.map