UNPKG

playwright-zephyr

Version:
11 lines (10 loc) 396 B
"use strict"; 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; }