Skip to content

Commit

Permalink
jest-circus failure messages
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronabramov committed Jun 9, 2017
1 parent f238a43 commit 8a57c1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
6 changes: 3 additions & 3 deletions packages/jest-matchers/src/extractExpectedAssertionsErrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8a57c1c

Please sign in to comment.