mirror of
https://github.com/appium/appium.git
synced 2026-10-26 10:47:45 +08:00
30 lines
728 B
TypeScript
30 lines
728 B
TypeScript
import type {ExecuteMethodMap} from '@appium/types';
|
|
|
|
import type {FakeDriver} from '../driver';
|
|
|
|
export const EXECUTE_METHOD_MAP = {
|
|
'fake: addition': {
|
|
command: 'fakeAddition',
|
|
params: {required: ['num1', 'num2'], optional: ['num3']},
|
|
},
|
|
'fake: getThing': {
|
|
command: 'getFakeThing',
|
|
},
|
|
'fake: setThing': {
|
|
command: 'setFakeThing',
|
|
params: {required: ['thing']},
|
|
},
|
|
'fake: getDeprecatedCommandsCalled': {
|
|
command: 'getDeprecatedCommandsCalled',
|
|
},
|
|
'fake: getLastPluginMath': {
|
|
command: 'getLastPluginMath',
|
|
},
|
|
'fake: startClock': {
|
|
command: 'fakeStartClock',
|
|
},
|
|
'fake: stopClock': {
|
|
command: 'fakeStopClock',
|
|
},
|
|
} as const satisfies ExecuteMethodMap<FakeDriver>;
|