mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
test: Require with empty cache
This commit is contained in:
parent
e25ec9e836
commit
3f80e318cd
5 changed files with 8 additions and 8 deletions
|
@ -7,7 +7,7 @@ const { devDir } = require('./common')
|
|||
const gyp = require('../lib/node-gyp')
|
||||
const requireInject = require('require-inject')
|
||||
|
||||
const configure = requireInject('../lib/configure', {
|
||||
const configure = requireInject.withEmptyCache('../lib/configure', {
|
||||
'graceful-fs': {
|
||||
openSync: () => 0,
|
||||
closeSync: () => {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue