UNPKG

testplane

Version:

Tests framework based on mocha and wdio

22 lines (21 loc) 667 B
"use strict"; exports.__esModule = true; exports.assign = void 0; /** ES5-safe Object.assign polyfill for use in browser bundles targeting old browsers */ // eslint-disable-next-line @typescript-eslint/no-explicit-any function assign(target) { var sources = []; for (var _i = 1; _i < arguments.length; _i++) { sources[_i - 1] = arguments[_i]; } for (var i = 0; i < sources.length; i++) { var source = sources[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; } exports.assign = assign;