mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-10 18:18:56 -04:00
fix: address review feedback for minimumReleaseAgeLoose
- Wire minimumReleaseAgeLoose to strictPublishedByCheck in dlx resolver - Strengthen loose fallback test assertion to verify specific version - Update add command test name to reflect loose mode dependency
This commit is contained in:
@@ -367,7 +367,7 @@ test('add: fail trying to install @pnpm/exe', async () => {
|
||||
expect(err.code).toBe('ERR_PNPM_GLOBAL_PNPM_INSTALL')
|
||||
})
|
||||
|
||||
test('minimumReleaseAge makes install fail if there is no version that was published before the cutoff', async () => {
|
||||
test('minimumReleaseAge with minimumReleaseAgeLoose disabled makes install fail if there is no version that was published before the cutoff', async () => {
|
||||
prepareEmpty()
|
||||
|
||||
const isOdd011ReleaseDate = new Date(2016, 11, 7 - 2) // 0.1.1 was released at 2016-12-07T07:18:01.205Z
|
||||
|
||||
Reference in New Issue
Block a user