1const t = require('tap') 2const tmock = require('../fixtures/tmock') 3 4t.test('loading the bin calls the implementation', t => { 5 tmock(t, '{BIN}/npm-cli.js', { 6 '{LIB}/cli.js': proc => { 7 t.equal(proc, process, 'called implementation with process object') 8 t.end() 9 }, 10 }) 11}) 12