Skip to content

Commit 2353583

Browse files
committed
reorg lambda console test
1 parent cd0ed1b commit 2353583

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/requests.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,11 @@ describe('Request Tests:', function() {
165165
expect(body.request.multiValueHeaders['test-header']).to.deep.equal(['val1','val2'])
166166
})
167167

168+
})
169+
170+
describe('API Gateway Console Test', function() {
168171
// See: https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-test-method.html
169-
it('API Gateway Console Test event', async function() {
172+
it('Standard event w/o multiValueHeaders', async function() {
170173
let _event = require('./sample-event-consoletest1.json')
171174
let _context = require('./sample-context-apigateway1.json')
172175
let result = await new Promise(r => api.run(_event,_context,(e,res) => { r(res) }))

0 commit comments

Comments
 (0)