Files
pnpm/test/utils/testDefaults.ts
Zoltan Kochan 89e2c76e56 Moving out the installation algorithm to a separate package (#830)
* refactor: remove installation engine code

* refactor: remove engine tests

* fix: sets correct user-agent

* refactor: remove redundant dependencies

* chore: add supi as dependency

* docs: remove programmatic API

* feat: making the bin file also the main file

* chore(greenkeeper): ignore supi
2017-06-29 21:29:04 +03:00

10 lines
275 B
TypeScript

import {PnpmOptions} from 'supi'
import path = require('path')
export default function testDefaults (opts?: PnpmOptions): PnpmOptions & {store: string} {
return Object.assign({
store: path.resolve('..', '.store'),
registry: 'http://localhost:4873/',
}, opts)
}