Skip to content

Commit

Permalink
Export toBeDate matcher (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
tejasbubane authored and mattphillips committed Jun 11, 2018
1 parent bb94682 commit 5ffe04c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/matchers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import toBeEmpty from './toBeEmpty';
import toBeSealed from './toBeSealed';
import toIncludeRepeated from './toIncludeRepeated';
import toHaveBeenCalledBefore from './toHaveBeenCalledBefore';
import toBeDate from './toBeDate';

export default [
toBeEven,
Expand Down Expand Up @@ -89,5 +90,6 @@ export default [
toBeSealed,
toSatisfy,
toIncludeRepeated,
toHaveBeenCalledBefore
toHaveBeenCalledBefore,
toBeDate
].reduce((acc, matcher) => ({ ...acc, ...matcher }), {});

0 comments on commit 5ffe04c

Please sign in to comment.