UNPKG

yapi-plugin-pl-auto-test

Version:

YAPI自动化测试插件,支持在YAPI设置测试计划,历史测试结果存入ES,界面显示测试结果,自定义通知。

18 lines (14 loc) 303 B
let _config = { }; class Config { static get instance () { return _config; } static set instance (options) { if (options && typeof options == 'object') { const config = Object.assign(_config, options); _config = config; } } } module.exports = Config;