UNPKG

@datr.tech/marble-api-model-validator-unit-test-generator

Version:

A Marble unit test generator for Mongoose based model validators (within the associated API packages)

12 lines 508 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getModelValidatorDef = void 0; var config_1 = require("../config"); var getModelValidatorDef = function (_a) { var modelValidatorName = _a.modelValidatorName; return typeof config_1.modelValidatorDefs[modelValidatorName] === 'undefined' ? null : config_1.modelValidatorDefs[modelValidatorName]; }; exports.getModelValidatorDef = getModelValidatorDef; //# sourceMappingURL=getModelValidatorDef.js.map