Searched refs:mockGlobals (Results 1 – 11 of 11) sorted by relevance
/third_party/node/deps/npm/test/lib/utils/ |
D | display.js | 4 const mockGlobals = require('@npmcli/mock-globals') constant 36 mockGlobals(t, { 'process.stderr.isTTY': true }) 66 mockGlobals(t, {
|
D | error-message.js | 5 const mockGlobals = require('@npmcli/mock-globals') constant 20 mockGlobals(t, { function 215 mockGlobals(t, { 'process.argv': ['arg', 'v'] })
|
D | exit-handler.js | 9 const mockGlobals = require('@npmcli/mock-globals') constant 40 mockGlobals(t, { function
|
/third_party/node/deps/npm/test/lib/es6/ |
D | validate-engines.js | 2 const mockGlobals = require('@npmcli/mock-globals') constant 9 mockGlobals(t, { 'process.version': 'v4.5.6' })
|
/third_party/node/deps/npm/test/bin/ |
D | npx-cli.js | 2 const mockGlobals = require('@npmcli/mock-globals') constant 10 mockGlobals(t, {
|
/third_party/node/deps/npm/test/lib/commands/ |
D | version.js | 5 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 })
|
D | login.js | 7 const mockGlobals = require('@npmcli/mock-globals') constant 18 mockGlobals(t, {
|
D | adduser.js | 7 const mockGlobals = require('@npmcli/mock-globals') constant 18 mockGlobals(t, {
|
D | doctor.js | 7 const mockGlobals = require('@npmcli/mock-globals') constant 62 mockGlobals(t, {
|
/third_party/node/deps/npm/test/fixtures/ |
D | mock-npm.js | 7 const mockGlobals = require('@npmcli/mock-globals') constant 170 mockGlobals(t, { 232 const mockedGlobals = mockGlobals(t, {
|
/third_party/node/deps/npm/test/lib/ |
D | npm.js | 5 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 })
|