We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2cb78c commit 7cb17b1Copy full SHA for 7cb17b1
test/parallel/test-http2-respond-with-fd-errors.js
@@ -1,10 +1,13 @@
1
'use strict';
2
3
const common = require('../common');
4
+
5
if (!common.hasCrypto)
6
common.skip('missing crypto');
7
8
+const fixtures = require('../common/fixtures');
9
10
const http2 = require('http2');
-const path = require('path');
11
12
const {
13
constants,
@@ -17,7 +20,7 @@ const {
17
20
// - NGHTTP2_ERR_NOMEM (should emit session error)
18
21
// - every other NGHTTP2 error from binding (should emit stream error)
19
22
-const fname = path.resolve(common.fixturesDir, 'elipses.txt');
23
+const fname = fixtures.path('elipses.txt');
24
25
const specificTestKeys = [
26
'NGHTTP2_ERR_NOMEM'
0 commit comments