UNPKG

rapnc

Version:

Node client for RAP 1.0

37 lines 725 B
module.exports = { url: '/simple/datatypes.do', cases: [{ condition: { method: 'post', params: 'a=1&b=2&c=3', body: { d: 4, e: 5 } }, dataHost: 'http://localhost:3000', expected: { status: 200 } }, { condition: { method: 'GET', params: 'a=1&b=2&c=3' }, realData: { a: 1, b: 2, c: 2, d: [1,2,3], e: { f: [1] }, g: [{ h: [1,2,3] }] }, expected: { status: 200, } }] };