Skip to content

Commit 1d4fbcd

Browse files
committed
supress flow errors
1 parent ae06d6a commit 1d4fbcd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/jest-circus/src/formatNodeAssertErrors.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
* @flow strict-local
88
*/
99

10-
import type {DiffOptions} from 'jest-diff/src/diffStrings';
10+
// $FlowFixMe: Converted to TS. It's also not exported, but should be imported from `matcher-utils`
11+
import type {DiffOptions} from 'jest-diff';
1112
import type {Event, State} from 'types/Circus';
1213

1314
import {diff, printExpected, printReceived} from 'jest-matcher-utils';

packages/jest-jasmine2/src/assertionErrorMessage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
* @flow
88
*/
99

10-
import type {DiffOptions} from 'jest-diff/src/diffStrings';
10+
// TODO: Converted to TS. It's also not exported, but should be imported from `matcher-utils`
11+
import type {DiffOptions} from 'jest-diff';
1112

1213
import {diff, printReceived, printExpected} from 'jest-matcher-utils';
1314
import chalk from 'chalk';

0 commit comments

Comments
 (0)