/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/npm/test/lib/cli.js
10 строк
243 B
npm CLI robot
deps: upgrade npm to 10.7.0
01 май 2024, 09:53
Не верифицирован
01 май 2024, 09:53
c923ce7
Код
Авторство
О чём код?
const t = require('tap') const tmock = require('../fixtures/tmock') t.test('returns cli-entry function', async t => { const cli = tmock(t, '{LIB}/cli.js', { '{LIB}/cli/entry.js': () => 'ENTRY', }) t.equal(cli(process), 'ENTRY') })