Skip to content

Commit

Permalink
Remove jest-snapshot dependency from jest-matchers (jestjs#2390)
Browse files Browse the repository at this point in the history
Apparently it's already injected from somewhere else (@cpojer told me!) and this passes all the tests so that sounds good.
  • Loading branch information
vjeux authored and skovhus committed Apr 29, 2017
1 parent f4b6889 commit c9b3f9f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/jest-matchers/src/matchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ import type {
MatchersObject,
} from 'types/Matchers';

const {
toMatchSnapshot,
} = require('jest-snapshot');

const diff = require('jest-diff');
const {escapeStrForRegex} = require('jest-util');
const {getPath} = require('./utils');
Expand Down Expand Up @@ -667,9 +663,6 @@ const matchers: MatchersObject = {

return {message, pass};
},

toMatchSnapshot,

};

module.exports = matchers;

0 comments on commit c9b3f9f

Please sign in to comment.