diff --git a/packages/jest-circus/src/formatNodeAssertErrors.js b/packages/jest-circus/src/formatNodeAssertErrors.js index 6434eee318a5..689929b300f7 100644 --- a/packages/jest-circus/src/formatNodeAssertErrors.js +++ b/packages/jest-circus/src/formatNodeAssertErrors.js @@ -7,6 +7,7 @@ * @flow strict-local */ +// $FlowFixMe: Converted to TS. It's also not exported, but should be imported from `matcher-utils` import type {DiffOptions} from 'jest-diff/src/diffStrings'; import type {Event, State} from 'types/Circus'; diff --git a/packages/jest-jasmine2/src/assertionErrorMessage.js b/packages/jest-jasmine2/src/assertionErrorMessage.js index 3e066ae8377d..8c4d092a6e74 100644 --- a/packages/jest-jasmine2/src/assertionErrorMessage.js +++ b/packages/jest-jasmine2/src/assertionErrorMessage.js @@ -7,7 +7,8 @@ * @flow */ -import type {DiffOptions} from 'jest-diff/src/diffStrings'; +// $FlowFixMe: Converted to TS. It's also not exported, but should be imported from `matcher-utils` +import type {DiffOptions} from 'jest-diff'; import {diff, printReceived, printExpected} from 'jest-matcher-utils'; import chalk from 'chalk';