Skip to content

Commit

Permalink
Small cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer authored and skovhus committed Apr 29, 2017
1 parent cb79403 commit 70c5ea3
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 70c5ea3

Please sign in to comment.