Skip to content

Commit

Permalink
Small cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Apr 12, 2017
1 parent b3dd61b commit b0f470e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/jest-jasmine2/src/assert-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,24 @@

'use strict';

import type {DiffOptions} from 'jest-diff/src/diffStrings';

const {
printReceived,
printExpected,
} = require('jest-matcher-utils');
const chalk = require('chalk');
const diff = require('jest-diff');

declare class AssertionError extends Error {
name: string,
type AssertionError = {|
actual: ?string,
expected: ?string,
operator: ?string,
message: string,
generatedMessage: boolean,
}
import type {DiffOptions} from 'jest-diff/src/diffStrings';
message: string,
name: string,
operator: ?string,
stack: string,
|};

const assertOperatorsMap = {
'!=': 'notEqual',
Expand Down

0 comments on commit b0f470e

Please sign in to comment.