e2ed
Version:
E2E testing framework over Playwright
20 lines (19 loc) • 798 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.runPackWithArgs = void 0;
const config_1 = require("../config");
const end_1 = require("../end");
const runLabel_1 = require("../runLabel");
const tests_1 = require("../tests");
/**
* Runs e2ed pack of tests (or tasks) with command line arguments.
* @internal
*/
const runPackWithArgs = async () => {
const { concurrency } = (0, config_1.getFullPackConfig)();
const runLabel = (0, runLabel_1.createRunLabel)({ concurrency, maxRetriesCount: 1 });
const successfulTestRunNamesHash = Object.create(null);
await (0, tests_1.runTests)({ runLabel, successfulTestRunNamesHash });
(0, end_1.endE2ed)("localRunEnded" /* EndE2edReason.LocalRunEnded */);
};
exports.runPackWithArgs = runPackWithArgs;