/
githubmirror
/
meteor
Обзор
Документация
Войти
/
githubmirror
/
meteor
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
tools/tool-testing/client.js
16 строк
442 B
Jesse Rosenberger
Re-factor and re-enable BrowserStack Automate for `meteor self-test`.
29 ноя 2017, 22:40
Не верифицирован
29 ноя 2017, 22:40
5475add
Код
Авторство
О чём код?
export default class Client { constructor(options) { this.host = options.host; this.port = options.port; this.url = [ `http://${this.host}:${this.port}/`, (Math.random() * 0x100000000 + 1).toString(36), ].join(''); this.config = options.config || {}; this.timeout = options.timeout || 40; if (! this.connect || ! this.stop) { console.log("Missing methods in subclass of Client."); } } }