From b212f99b400bb6a697a5eff6157961e1687451a8 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 4 May 2020 16:23:21 +0200 Subject: [PATCH] fix type of testErrors --- packages/jest-types/src/Circus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-types/src/Circus.ts b/packages/jest-types/src/Circus.ts index e1291bfe1764..963a6a61b537 100644 --- a/packages/jest-types/src/Circus.ts +++ b/packages/jest-types/src/Circus.ts @@ -214,7 +214,7 @@ export type TestError = Exception | [Exception | undefined, Exception]; // the e export type TestEntry = { type: 'test'; asyncError: Exception; // Used if the test failure contains no usable stack trace - errors: TestError; + errors: Array; fn?: TestFn; invocations: number; mode: TestMode;