1 parent 6b651ba commit 8aa4999Copy full SHA for 8aa4999
1 file changed
test.js
@@ -53,6 +53,12 @@ describe('querystringify', function () {
53
it('transforms `null` into nothing', function () {
54
assume(qs.stringify({ foo: null })).equals('foo=');
55
});
56
+
57
+ if (typeof Symbol !== 'undefined') {
58
+ it('does not throw on invalid input', function () {
59
+ assume(qs.stringify({ foo: Symbol('foo') })).equals('');
60
+ });
61
+ }
62
63
64
describe('#parse', function () {
0 commit comments