| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 20c8a0a commit 0ca8044
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | - /* eslint-disable node-core/require-common-first */ | ||
| 2 | 1 | 'use strict'; | |
| 3 | 2 | // Flags: --expose_internals | |
| 4 | 3 | ||
| 4 | + const common = require('../common'); | ||
| 5 | 5 | const { internalBinding } = require('internal/test/binding'); | |
| 6 | 6 | ||
| 7 | 7 | // Monkey patch the os binding before requiring any other modules, including | |
@@ -12,7 +12,6 @@ internalBinding('os').getHomeDirectory = function(ctx) { | |||
| 12 | 12 | ctx.message = 'baz'; | |
| 13 | 13 | }; | |
| 14 | 14 | ||
| 15 | - const common = require('../common'); | ||
| 16 | 15 | const os = require('os'); | |
| 17 | 16 | ||
| 18 | 17 | common.expectsError(os.homedir, { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments