Skip to content

Commit

Permalink
test: add a missing common.mustCall
Browse files Browse the repository at this point in the history
PR-URL: #32305
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
HarshithaKP authored and BethGriggs committed Apr 7, 2020
1 parent 9d6adf3 commit 4a828d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-process-getactiverequests.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';

require('../common');
const common = require('../common');
const assert = require('assert');
const fs = require('fs');

for (let i = 0; i < 12; i++)
fs.open(__filename, 'r', () => {});
fs.open(__filename, 'r', common.mustCall());

assert.strictEqual(process._getActiveRequests().length, 12);

0 comments on commit 4a828d3

Please sign in to comment.