Home
last modified time | relevance | path

Searched refs:tmock (Results 1 – 25 of 25) sorted by relevance

/third_party/node/deps/npm/test/lib/
Dcli.js2 const tmock = require('../fixtures/tmock') constant
5 const cli = tmock(t, '{LIB}/cli.js', {
Darborist-cmd.js4 const tmock = require('../fixtures/tmock') constant
7 const ArboristCmd = tmock(t, '{LIB}/arborist-cmd.js', mocks)
Dcli-entry.js3 const tmock = require('../fixtures/tmock.js') constant
16 const cli = tmock(t, '{LIB}/cli-entry.js', {
/third_party/node/deps/npm/test/bin/
Dnpm-cli.js2 const tmock = require('../fixtures/tmock') constant
5 tmock(t, '{BIN}/npm-cli.js', {
Dnpx-cli.js3 const tmock = require('../fixtures/tmock') constant
14 tmock(t, '{BIN}/npx-cli.js', { '{LIB}/cli.js': () => {} })
/third_party/node/deps/npm/test/lib/utils/
Dpulse-till-done.js2 const tmock = require('../../fixtures/tmock') constant
6 const pulseTillDone = tmock(t, '{LIB}/utils/pulse-till-done.js', {
Dweb-auth.js2 const tmock = require('../../fixtures/tmock') constant
8 const webauth = tmock(t, '{LIB}/utils/web-auth.js', {
Dlog-shim.js2 const tmock = require('../../fixtures/tmock') constant
4 const makeShim = (mocks) => tmock(t, '{LIB}/utils/log-shim.js', mocks)
Dread-user-info.js2 const tmock = require('../../fixtures/tmock') constant
29 const readUserInfo = tmock(t, '{LIB}/utils/read-user-info.js', {
Ddisplay.js5 const tmock = require('../../fixtures/tmock') constant
9 const Display = tmock(t, '{LIB}/utils/display', {
Dtar.js4 const tmock = require('../../fixtures/tmock') constant
8 const mockTar = ({ notice }) => tmock(t, '{LIB}/utils/tar.js', {
Dotplease.js3 const tmock = require('../../fixtures/tmock') constant
15 const otplease = tmock(t, '{LIB}/utils/otplease.js', {
Dreify-finish.js5 const tmock = require('../../fixtures/tmock') constant
26 const reifyFinish = tmock(t, '{LIB}/utils/reify-finish.js', {
Daudit-error.js4 const tmock = require('../../fixtures/tmock') constant
8 const mockAuditError = tmock(t, '{LIB}/utils/audit-error', logMocks)
Dopen-url-prompt.js3 const tmock = require('../../fixtures/tmock') constant
26 const openUrlPrompt = tmock(t, '{LIB}/utils/open-url-prompt.js', {
Dtimers.js5 const tmock = require('../../fixtures/tmock') constant
9 const Timers = tmock(t, '{LIB}/utils/timers', {
Dopen-url.js2 const tmock = require('../../fixtures/tmock') constant
19 const openUrl = tmock(t, '{LIB}/utils/open-url.js', {
Dexit-handler.js11 const tmock = require('../../fixtures/tmock') constant
76 const exitHandler = tmock(t, '{LIB}/utils/exit-handler.js', {
350 const mockTimers = tmock(t, '{LIB}/utils/timers.js', {
381 const mockLogFile = tmock(t, '{LIB}/utils/log-file.js', {
Dupdate-notifier.js3 const tmock = require('../../fixtures/tmock') constant
84 const updateNotifier = tmock(t, '{LIB}/utils/update-notifier.js', mocks)
Derror-message.js6 const tmock = require('../../fixtures/tmock') constant
31 const mockError = tmock(t, '{LIB}/utils/error-message.js', errorMocks)
Dlog-file.js7 const tmock = require('../../fixtures/tmock') constant
46 const MockLogFile = tmock(t, '{LIB}/utils/log-file.js', mocks)
/third_party/node/deps/npm/test/lib/commands/
Dll.js2 const tmock = require('../../fixtures/tmock') constant
17 const LL = tmock(t, '{LIB}/commands/ll.js', {
/third_party/node/deps/npm/test/fixtures/
Dtmock.js22 const tmock = (t, p, mocks = {}) => { function
27 module.exports = tmock
Dmock-npm.js8 const tmock = require('./tmock') constant
60 allMocks[definitions] = tmock(t, definitions, allMocks)
68 const Npm = tmock(t, '{LIB}/npm.js', allMocks)
/third_party/node/deps/npm/test/lib/es6/
Dvalidate-engines.js3 const tmock = require('../../fixtures/tmock') constant
6 const validateEngines = tmock(t, '{LIB}/es6/validate-engines.js', {