Home
last modified time | relevance | path

Searched refs:mockGlobals (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/npm/test/lib/utils/
Ddisplay.js4 const mockGlobals = require('@npmcli/mock-globals') constant
36 mockGlobals(t, { 'process.stderr.isTTY': true })
66 mockGlobals(t, {
Derror-message.js5 const mockGlobals = require('@npmcli/mock-globals') constant
20 mockGlobals(t, { function
215 mockGlobals(t, { 'process.argv': ['arg', 'v'] })
Dexit-handler.js9 const mockGlobals = require('@npmcli/mock-globals') constant
40 mockGlobals(t, { function
/third_party/node/deps/npm/test/lib/es6/
Dvalidate-engines.js2 const mockGlobals = require('@npmcli/mock-globals') constant
9 mockGlobals(t, { 'process.version': 'v4.5.6' })
/third_party/node/deps/npm/test/bin/
Dnpx-cli.js2 const mockGlobals = require('@npmcli/mock-globals') constant
10 mockGlobals(t, {
/third_party/node/deps/npm/test/lib/commands/
Dversion.js5 const mockGlobals = require('@npmcli/mock-globals') constant
23 mockGlobals(t, { 'process.versions': { node: '1.0.0' } }, { replace: true })
88 mockGlobals(t, { 'process.versions': {} }, { replace: true })
Dlogin.js7 const mockGlobals = require('@npmcli/mock-globals') constant
18 mockGlobals(t, {
Dadduser.js7 const mockGlobals = require('@npmcli/mock-globals') constant
18 mockGlobals(t, {
Ddoctor.js7 const mockGlobals = require('@npmcli/mock-globals') constant
62 mockGlobals(t, {
/third_party/node/deps/npm/test/fixtures/
Dmock-npm.js7 const mockGlobals = require('@npmcli/mock-globals') constant
170 mockGlobals(t, {
232 const mockedGlobals = mockGlobals(t, {
/third_party/node/deps/npm/test/lib/
Dnpm.js5 const mockGlobals = require('@npmcli/mock-globals') constant
69 mockGlobals(t, { process: { platform: 'posix' } })
105 mockGlobals(t, { process: { platform: 'win32' } })
714 mockGlobals(t, { 'process.stdout.columns': width })