MCPcopy
hub / github.com/oauthjs/node-oauth2-server / generateBaseResponse

Function generateBaseResponse

test/unit/response_test.js:14–23  ·  view source on GitHub ↗

* Test `Request`.

()

Source from the content-addressed store, hash-verified

12 */
13
14function generateBaseResponse() {
15 return {
16 headers: {
17 bar: 'foo'
18 },
19 body: {
20 foobar: 'barfoo'
21 }
22 };
23}
24
25describe('Request', function() {
26 it('should instantiate with a basic request', function() {

Callers 1

response_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected