We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a4775c commit 8614dbfCopy full SHA for 8614dbf
1 file changed
test/date_test.js
@@ -33,6 +33,7 @@
33
var vows = require('vows');
34
var assert = require('assert');
35
var tough = require('../lib/cookie');
36
+require('string.prototype.repeat'); // polyfill
37
38
function dateVows(table) {
39
var theVows = {};
@@ -52,7 +53,7 @@ function dateVows(table) {
52
53
return {"date parsing": theVows};
54
}
55
-var TOO_MANY_XS = 'x'.repeat(65535);
56
+var TOO_MANY_XS = String("x").repeat(65535);
57
58
vows
59
.describe('Date')
0 commit comments