From 3326623fd7a760f25e155a8a0320b457321d584e Mon Sep 17 00:00:00 2001 From: tcbyrd Date: Fri, 15 Mar 2019 21:54:10 -0700 Subject: [PATCH] update test to ensure it passes when headers are capitalized --- tests/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/index.test.js b/tests/index.test.js index dc7dbd8..6935575 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -25,7 +25,7 @@ describe('serverless-lambda', () => { installation: { id: 1 } }, headers: { - 'x-github-event': 'issues', + 'X-Github-Event': 'issues', 'x-github-delivery': 123 } }