We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10bd5f4 commit c6a69e3Copy full SHA for c6a69e3
test/parallel/test-http2-endafterheaders.js
@@ -9,7 +9,7 @@ const Countdown = require('../common/countdown');
9
10
const server = http2.createServer();
11
server.on('stream', common.mustCall((stream, headers) => {
12
- const check = headers[':method'] === 'GET' ? true : false;
+ const check = headers[':method'] === 'GET';
13
assert.strictEqual(stream.endAfterHeaders, check);
14
stream.on('data', common.mustNotCall());
15
stream.on('end', common.mustCall());
0 commit comments