UNPKG

730 BTypeScriptView Raw
1/// <reference types="q" />
2import * as q from 'q';
3import { Config } from '../config';
4import { DriverProvider } from './driverProvider';
5export declare class Sauce extends DriverProvider {
6 sauceServer_: any;
7 constructor(config: Config);
8 /**
9 * Hook to update the sauce job.
10 * @public
11 * @param {Object} update
12 * @return {q.promise} A promise that will resolve when the update is complete.
13 */
14 updateJob(update: any): q.Promise<any>;
15 /**
16 * Configure and launch (if applicable) the object's environment.
17 * @public
18 * @return {q.promise} A promise which will resolve when the environment is
19 * ready to test.
20 */
21 protected setupDriverEnv(): q.Promise<any>;
22}