diff --git a/packages/jest-circus/src/legacy_code_todo_rewrite/jest-adapter-init.js b/packages/jest-circus/src/legacy_code_todo_rewrite/jest-adapter-init.js index 68ca622470ba..3df550157496 100644 --- a/packages/jest-circus/src/legacy_code_todo_rewrite/jest-adapter-init.js +++ b/packages/jest-circus/src/legacy_code_todo_rewrite/jest-adapter-init.js @@ -12,7 +12,11 @@ import type {TestResult, Status} from 'types/TestResult'; import type {GlobalConfig, Path, ProjectConfig} from 'types/Config'; import type {Event, TestEntry} from '../../types'; -import {extractExpectedAssertionsErrors, getState, setState} from 'jest-matchers'; +import { + extractExpectedAssertionsErrors, + getState, + setState, +} from 'jest-matchers'; import {formatResultsErrors} from 'jest-message-util'; import {SnapshotState, addSerializer} from 'jest-snapshot'; import {addEventHandler, ROOT_DESCRIBE_BLOCK_NAME} from '../state'; diff --git a/packages/jest-matchers/src/extractExpectedAssertionsErrors.js b/packages/jest-matchers/src/extractExpectedAssertionsErrors.js index f908a929bbc3..7db7602d9905 100644 --- a/packages/jest-matchers/src/extractExpectedAssertionsErrors.js +++ b/packages/jest-matchers/src/extractExpectedAssertionsErrors.js @@ -8,14 +8,14 @@ * @flow */ -const { +import { EXPECTED_COLOR, RECEIVED_COLOR, matcherHint, pluralize, -} = require('jest-matcher-utils'); +} from 'jest-matcher-utils'; -const {getState, setState} = require('./jest-matchers-object'); +import {getState, setState} from './jest-matchers-object'; // Create and format all errors related to the mismatched number of `expect` // calls and reset the matchers state.