@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
12 lines • 479 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertPromise = convertPromise;
/**
* Converts a webdriver promise to ES6 promise so the rest of the framework handles ES6 promises only
* @deprecated Will be removed in v13, please use Playwright instead
* @param promise
*/
function convertPromise(promise) {
return new Promise(function (resolve, reject) { return promise.then(resolve, reject); });
}
//# sourceMappingURL=utils.js.map