Lines Matching full:join

1 const { join } = require('path')
47 const global = join(temp, 'global')
48 const project = join(temp, 'project')
49 const home = join(temp, 'home')
69 const global = join(temp, 'global')
70 const project = join(temp, 'project')
71 const home = join(temp, 'home')
91 const global = join(temp, 'global')
92 const project = join(temp, 'project')
93 const home = join(temp, 'home')
112 const project = join(temp, 'project')
144 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
160 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
176 const contents = await fs.readFile(join(global, 'npmrc'), { encoding: 'utf8' })
191 const contents = await fs.readFile(join(global, 'npmrc'), { encoding: 'utf8' })
255 await t.rejects(fs.stat(join(home, '.npmrc'), { encoding: 'utf8' }), 'removed empty config')
269 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
285 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
302 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
316 [['invalid config', 'access="foo"', `set in ${join(sandbox.home, '.npmrc')}`]],
331 const contents = await fs.readFile(join(global, 'npmrc'), { encoding: 'utf8' })
346 const contents = await fs.readFile(join(global, 'npmrc'), { encoding: 'utf8' })
416 [join(sandbox.home, '.npmrc')],
420 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
443 [join(sandbox.home, '.npmrc')],
471 global: join(root, 'global'),
472 home: join(root, 'home'),
485 const globalConfig = await fs.readFile(join(root, 'global', 'npmrc'), { encoding: 'utf8' })
496 const userConfig = await fs.readFile(join(root, 'home', '.npmrc'), { encoding: 'utf8' })
512 global: join(root, 'global'),
513 home: join(root, 'home'),
525 const globalConfig = await fs.readFile(join(root, 'global', 'npmrc'), { encoding: 'utf8' })
537 const userConfig = await fs.readFile(join(root, 'home', '.npmrc'), { encoding: 'utf8' })
549 t.match(await sandbox.complete('config', argv), expect, argv.join(' '))