2.0.3 • Published 2 years ago

quick-install v2.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
2 years ago

quick-install

npm CI Status dependencies Status devDependencies Status

Quickly install the package you're working on for faster tests

quick-install aims to speed up automated tests during package development by performing a fake package installation. Given a target directory, the package is symlinked into its node_modules directory, and any executables (listed in the bin field of package.json) are symlinked into node_modules/.bin

Usage

Install quick-install by running:

yarn add quick-install

Then use in your test cases as follows:

import install from 'quick-install'

test('my package works', async t => {
  await install(process.cwd(), '/tmp/test-project')
})
2.0.3

2 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago