Browse Source

Make sure all expected test cases are fired

pull/22/head
Luke Childs 7 years ago
parent
commit
624b60a168
  1. 2
      test/create-test-server.js

2
test/create-test-server.js

@ -158,6 +158,8 @@ test('opts.bodyParser is passed through to bodyParser', async t => {
const bigServer = await createTestServer({ bodyParser: { limit: '200kb' } });
const buf = Buffer.alloc(150 * 1024);
t.plan(3);
smallServer.post('/', (req, res) => {
t.fail();
res.end();

Loading…
Cancel
Save