mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
981701b809
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>
11 lines
227 B
JavaScript
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);
|