Skip to content

Commit

Permalink
fixed test case typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mankal111 committed Oct 8, 2018
1 parent 13b7196 commit 9c27ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('getNumber', () => {

describe('getInterval', () => {
it('should throw an error if it is called without parameters',() =>{
expect(() => JXRand.getNumber()).to.throw(TypeError, "Parameter's type is 'undefined' but it should be 'object'.");
expect(() => JXRand.getInterval()).to.throw(TypeError, "Parameter's type is 'undefined' but it should be 'object'.");
});

it("should throw an error if any of the 'min' and 'max' parameters is not a number",() =>{
Expand Down

0 comments on commit 9c27ba2

Please sign in to comment.