@kilterset/auth0-actions-testing
Version:
Test and develop Auth0 Actions or Okta CIC Actions locally.
17 lines • 481 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.define = define;
const fishery_1 = require("fishery");
/**
* Define a new mock factory. This will return the Fishery factory's `build`
* function.
*/
function define(...args) {
const factory = fishery_1.Factory.define(...args);
return (attributes, transient) => {
return factory.build(attributes, {
transient,
});
};
}
//# sourceMappingURL=define.js.map