diff options
Diffstat (limited to 'test/parallel/test-uv-errno.js')
-rw-r--r-- | test/parallel/test-uv-errno.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-uv-errno.js b/test/parallel/test-uv-errno.js index d3b4f79db3..078db29adc 100644 --- a/test/parallel/test-uv-errno.js +++ b/test/parallel/test-uv-errno.js @@ -1,3 +1,4 @@ +// Flags: --expose-internals 'use strict'; const common = require('../common'); @@ -7,7 +8,8 @@ const { _errnoException } = require('util'); -const uv = process.binding('uv'); +const { internalBinding } = require('internal/test/binding'); +const uv = internalBinding('uv'); const keys = Object.keys(uv); keys.forEach((key) => { |