diff options
Diffstat (limited to 'test/lib/set.js')
-rw-r--r-- | test/lib/set.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lib/set.js b/test/lib/set.js index 3b38fdc27..f51065a4b 100644 --- a/test/lib/set.js +++ b/test/lib/set.js @@ -1,5 +1,4 @@ const t = require('tap') -const requireInject = require('require-inject') let configArgs = null const npm = { @@ -11,7 +10,7 @@ const npm = { }, } -const Set = requireInject('../../lib/set.js') +const Set = t.mock('../../lib/set.js') const set = new Set(npm) t.test('npm set - no args', t => { |