MCPcopy Create free account
hub / github.com/ljharb/qs / noopEncoder

Function noopEncoder

test/stringify.js:1292–1292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1290 st.deepEqual(qs.stringify({ KeY: 'vAlUe' }, { encoder: encoder }), 'key=VALUE');
1291
1292 var noopEncoder = function () { return 'x'; };
1293 noopEncoder();
1294 st['throws'](
1295 function () { encoder('x', noopEncoder, 'utf-8', 'unknown'); },

Callers 1

stringify.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected