UNPKG

e2ed

Version:

E2E testing framework over Playwright

14 lines (13 loc) 441 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assertValueIsDefined = assertValueIsDefined; /** * Asserts that the value is defined (is not `undefined`). * This base client function should not use scope variables (except other base functions). * @internal */ function assertValueIsDefined(value) { if (value === undefined) { throw new TypeError('Asserted value is not defined'); } }