jest-allure2-reporter
Version:
Idiomatic Jest reporter for Allure Framework
11 lines • 472 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.$Link = void 0;
const jest_metadata_1 = require("jest-metadata");
const constants_1 = require("../../metadata/constants");
const $Link = (maybeUrl, maybeName) => {
const link = typeof maybeUrl === 'string' ? { name: maybeName ?? maybeUrl, url: maybeUrl } : maybeUrl;
(0, jest_metadata_1.$Push)(constants_1.LINKS, link);
};
exports.$Link = $Link;
//# sourceMappingURL=$Link.js.map