Skip to content

Commit c3b3485

Browse files
committedApr 12, 2019
[test] Fix test
1 parent 50a6877 commit c3b3485

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎test/test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ describe('url-parse', function () {
5656
// When users pass in `window.location` it's not an actual string
5757
// so you can't replace on it. So it needs to be cast to a string.
5858
//
59-
const fake = {
60-
toString() {
61-
return 'wat'
59+
var fake = {
60+
toString: function () {
61+
return 'wat';
6262
}
6363
};
6464

0 commit comments

Comments
 (0)
Please sign in to comment.