2020-03-31 20:42:07 +08:00
|
|
|
/**
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
import { Circus } from '@jest/types';
|
|
|
|
export declare const ROOT_DESCRIBE_BLOCK_NAME = "ROOT_DESCRIBE_BLOCK";
|
|
|
|
export declare const getState: () => Circus.State;
|
|
|
|
export declare const setState: (state: Circus.State) => Circus.State;
|
2020-04-30 20:40:07 +08:00
|
|
|
export declare const dispatch: (event: Circus.AsyncEvent) => Promise<void>;
|
|
|
|
export declare const dispatchSync: (event: Circus.SyncEvent) => void;
|
2020-03-31 20:42:07 +08:00
|
|
|
export declare const addEventHandler: (handler: Circus.EventHandler) => void;
|