MCPcopy Create free account
hub / github.com/cameri/nostream / makeRes

Function makeRes

test/unit/controllers/invoices/post-invoice-controller.spec.ts:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51const makeRes = (): any => ({
52 status: sinon.stub().returnsThis(),
53 setHeader: sinon.stub().returnsThis(),
54 send: sinon.stub().returnsThis(),
55 locals: { nonce: 'post-inv-nonce' },
56})
57
58const validBody = {
59 tosAccepted: 'yes',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected