sauce.d.ts 730 B

12345678910111213141516171819202122
  1. /// <reference types="q" />
  2. import * as q from 'q';
  3. import { Config } from '../config';
  4. import { DriverProvider } from './driverProvider';
  5. export 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. }