File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/location/core/test/repository/actiontestrunner.js
Back
import ActionRunner from '../../src/repository/actionrunner'; class ActionTestRunner extends ActionRunner { #response; constructor() { super({path: 'testPath'}); } set response(response) { this.#response = response; } run(action, data) { if(!action) { throw new Error('action must not be empty!'); } return new Promise( () => this.#response, (data) => BX.debug(data) ); } } export default ActionTestRunner;
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings