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