0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/parallel/test-process-getactiverequests.js
Vladyslav Kopylash 981701b809 test: fix args order in process-getactiverequests
PR-URL: https://github.com/nodejs/node/pull/24186
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-11-11 20:25:15 -08:00

11 lines
227 B
JavaScript

'use strict';
require('../common');
const assert = require('assert');
const fs = require('fs');
for (let i = 0; i < 12; i++)
fs.open(__filename, 'r', () => {});
assert.strictEqual(process._getActiveRequests().length, 12);