Skip to content

Commit

Permalink
Recently added expectation is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kumabook committed Jan 3, 2018
1 parent 74309fc commit 21cae25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expects.js
Expand Up @@ -7,6 +7,6 @@ var Expectation = require('./expectation');
*/
module.exports = function(func) {
var expectation = new Expectation();
func.expectations.push(expectation);
func.expectations.unshift(expectation);
return expectation;
};

0 comments on commit 21cae25

Please sign in to comment.