lml-main
Version:
This is now a mono repository published into many standalone packages.
32 lines • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var faker_1 = require("faker");
exports.mockJobLabel = function (region) {
if (region === void 0) { region = 'LMLQA'; }
return ({
label: faker_1.random.uuid(),
description: faker_1.random.uuid(),
autoIsOn: faker_1.random.boolean(),
availableForAuto: faker_1.random.boolean(),
region: region,
code: faker_1.random.uuid(),
consolidation: faker_1.random.boolean(),
});
};
exports.mockJobLabelRegion = function (name) {
if (name === void 0) { name = 'LMLQA'; }
return ({
name: name,
country: 'UK',
});
};
exports.mockJobLabelServiceCentre = function (serviceCentreId, region) {
if (serviceCentreId === void 0) { serviceCentreId = 'QA'; }
if (region === void 0) { region = 'LMLQA'; }
return ({
name: 'Lml Testing',
code: faker_1.random.uuid(),
region: region,
});
};
//# sourceMappingURL=data.js.map