diff --git a/test/parallel/test-os-checked-function.js b/test/parallel/test-os-checked-function.js index 44337adb4063ae..4a6c1cd0cafb09 100644 --- a/test/parallel/test-os-checked-function.js +++ b/test/parallel/test-os-checked-function.js @@ -1,7 +1,7 @@ -/* eslint-disable node-core/require-common-first */ 'use strict'; // Flags: --expose_internals +const common = require('../common'); const { internalBinding } = require('internal/test/binding'); // Monkey patch the os binding before requiring any other modules, including @@ -12,7 +12,6 @@ internalBinding('os').getHomeDirectory = function(ctx) { ctx.message = 'baz'; }; -const common = require('../common'); const os = require('os'); common.expectsError(os.homedir, {