UNPKG

testplane

Version:

Tests framework based on mocha and wdio

21 lines 405 B
"use strict"; /** * @singleton */ class RuntimeConfig { static create() { return new RuntimeConfig(); } extend(data) { Object.assign(this, data); return this; } } let runtimeConfig; exports.getInstance = () => { if (!runtimeConfig) { runtimeConfig = RuntimeConfig.create(); } return runtimeConfig; }; //# sourceMappingURL=runtime-config.js.map