X-Git-Url: http://git.squeep.com/?p=squeep-indieauth-helper;a=blobdiff_plain;f=test%2Flib%2Fcommon.js;h=7ebc91b45b6cf81c47306b48a7cfc62c5ceffe78;hp=fe0240718bf8192f8e3761219ef33fd665e8d544;hb=30851a8cb9f8823b1b395ace8f53d62c5c53abd8;hpb=92b0d18597c3dc659182adec495f1d4b972f2f3e diff --git a/test/lib/common.js b/test/lib/common.js index fe02407..7ebc91b 100644 --- a/test/lib/common.js +++ b/test/lib/common.js @@ -120,4 +120,14 @@ describe('common', function () { }); }); // properURLComponentName + describe('formData', function () { + it('covers', function () { + const result = common.formData({ + key: 'value', + foo: 'bar', + }); + assert.strictEqual(result, 'key=value&foo=bar'); + }); + }); // formData + }); // common \ No newline at end of file