mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-26 19:12:12 -04:00
test: remove not needed test
This commit is contained in:
@@ -812,24 +812,6 @@ test('should not throw error if using a different store after all the packages w
|
||||
// TODO: implement
|
||||
})
|
||||
|
||||
test('should reinstall package to the store if it is not in the store.yml', async function (t) {
|
||||
// TODO: review, might fail sometimes
|
||||
const project = prepare(t)
|
||||
|
||||
const opts = testDefaults()
|
||||
|
||||
try {
|
||||
await installPkgs(['is-positive@3.1.0', 'this-pkg-does-not-exist-3f49f4'], opts)
|
||||
t.fail('installation should have failed')
|
||||
} catch (err) {}
|
||||
|
||||
await rimraf(opts.storePath)
|
||||
|
||||
await installPkgs(['is-positive@3.1.0'], opts)
|
||||
|
||||
t.ok(await exists(await project.resolve('is-positive', '3.1.0', 'index.js')))
|
||||
})
|
||||
|
||||
test('shrinkwrap locks npm dependencies', async function (t) {
|
||||
const project = prepare(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user