Skip to content

Commit

Permalink
should not be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Jan 21, 2017
1 parent 769e970 commit 6941da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('extract domain', () => {

it('should throw syntax error exception if the argument is not string nor array', () => {
try {
extractDomain('{}');
extractDomain({});
} catch (e) {
assert.equal(e.name, 'TypeError');

Expand Down

0 comments on commit 6941da5

Please sign in to comment.