TestWatcher.d.ts 651 B

1234567891011121314151617181920212223
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. /// <reference types="node" />
  8. import { EventEmitter } from 'events';
  9. declare type State = {
  10. interrupted: boolean;
  11. };
  12. export default class TestWatcher extends EventEmitter {
  13. state: State;
  14. private _isWatchMode;
  15. constructor({ isWatchMode }: {
  16. isWatchMode: boolean;
  17. });
  18. setState(state: State): void;
  19. isInterrupted(): boolean;
  20. isWatchMode(): boolean;
  21. }
  22. export {};
  23. //# sourceMappingURL=TestWatcher.d.ts.map