Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kovalenko committed Feb 5, 2018
1 parent 6bf4b69 commit d6a788e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/function.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ test('Function throttle throws an error if there is no waiting parameter passed'
mockFunction.throttle();
}, Error);

t.is(error.message, 'Missing throttle waiting period.');
t.is(error.message, 'Missing throttle rate.');
});

test.after(() => {
Expand Down

0 comments on commit d6a788e

Please sign in to comment.