Files
appium/lib/express/crash.js
T
Dan Graham 97c02c8af0 Rename 'mjsonwp' to 'protocol' (#178)
* Rename 'mjsonwp' to 'protocol'
  * Renamed folder from 'mjsonwp' to 'protocol' in `lib/` and `test/`
  * Renamed 'mjsonwp.js' to 'protocol.js'
  * Renamed any import statements that use 'mjsonwp'
  * _Possible breaking change_: MJSONWireProtocol class exposed in index was renamed to just Protocol.... checked Appium repo and found no libraries that use MJSONWireProtocol
* Lint fix
2018-01-29 12:41:14 -08:00

14 lines
271 B
JavaScript

import { errors } from '../protocol';
function produceError () {
throw new errors.UnknownCommandError('Produced generic error for testing');
}
function produceCrash () {
throw new Error('We just tried to crash Appium!');
}
export { produceError, produceCrash };