Skip to content

Commit

Permalink
[test] Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Apr 12, 2019
1 parent 50a6877 commit c3b3485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ describe('url-parse', function () {
// When users pass in `window.location` it's not an actual string
// so you can't replace on it. So it needs to be cast to a string.
//
const fake = {
toString() {
return 'wat'
var fake = {
toString: function () {
return 'wat';
}
};

Expand Down

0 comments on commit c3b3485

Please sign in to comment.