/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/npm/test/bin/npm-cli.js
11 строк
293 B
npm CLI robot
deps: upgrade npm to 9.3.0
17 янв 2023, 06:38
Не верифицирован
17 янв 2023, 06:38
66b1356
Код
Авторство
О чём код?
const t = require('tap') const tmock = require('../fixtures/tmock') t.test('loading the bin calls the implementation', t => { tmock(t, '{BIN}/npm-cli.js', { '{LIB}/cli.js': proc => { t.equal(proc, process, 'called implementation with process object') t.end() }, }) })