@fakes/media-devices
Version:
A interactive fake implementation of MediaDevices interface in the browser for testing
11 lines (10 loc) • 445 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultContext = void 0;
const not_implemented_1 = require("./not-implemented");
const reporter_1 = require("./reporter");
const defaultContext = () => {
const reporter = new reporter_1.DefaultReporter();
return { notImplemented: new not_implemented_1.ThrowingNotImplemented(reporter), reporter: reporter };
};
exports.defaultContext = defaultContext;