playwright-zephyr
Version:
Zephyr reporter for the Playwright
11 lines (10 loc) • 396 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateOptions = validateOptions;
function validateOptions(options) {
if (!options.projectKey)
throw new Error('"projectKey" option is missed in the config');
if (!options.authorizationToken)
throw new Error('"authorizationToken" option is missed in the config');
return options;
}