()
| 20 | export const ROOT_DESCRIBE_BLOCK_NAME = 'ROOT_DESCRIBE_BLOCK'; |
| 21 | |
| 22 | const createState = (): Circus.State => { |
| 23 | const ROOT_DESCRIBE_BLOCK = makeDescribe(ROOT_DESCRIBE_BLOCK_NAME); |
| 24 | return { |
| 25 | currentDescribeBlock: ROOT_DESCRIBE_BLOCK, |
| 26 | currentlyRunningTest: null, |
| 27 | expand: undefined, |
| 28 | hasFocusedTests: false, |
| 29 | hasStarted: false, |
| 30 | includeTestLocationInResult: false, |
| 31 | maxConcurrency: 5, |
| 32 | parentProcess: null, |
| 33 | rootDescribeBlock: ROOT_DESCRIBE_BLOCK, |
| 34 | seed: 0, |
| 35 | testNamePattern: null, |
| 36 | testTimeout: 5000, |
| 37 | unhandledErrors: [], |
| 38 | unhandledRejectionErrorByPromise: new Map(), |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | export const getState = (): Circus.State => |
| 43 | (globalThis as Global.Global)[STATE_SYM] as Circus.State; |
no test coverage detected