nodejs/test/parallel/test-process-getactivereque...

11 lines
251 B
JavaScript

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