test: tolerate hosted git transport fallback (#15219)
Request the pinned archive explicitly in the patch test that asserts a tarball choice. Permit the same pinned ajv-keywords commit over the Git transport in the license test when the public-repository probe cannot confirm archive availability.
This commit is contained in:
1 parent
7a99e1426a
commit
f7cd88dc6a
2 files changed
+2
-1
No files matched your search
@@ -315,6 +315,7 @@ test('pnpm licenses should work with git protocol dep that have peerDependencies
|
||||
dir: workspaceDir,
|
||||
allowBuilds: {
|
||||
'ajv-keywords@https://codeload.github.com/ajv-validator/ajv-keywords/tar.gz/a11389b4d1934d360fb2a24dd920ec597295c8fc': true,
|
||||
'ajv-keywords@git+https://github.com/ajv-validator/ajv-keywords.git#a11389b4d1934d360fb2a24dd920ec597295c8fc': true,
|
||||
},
|
||||
pnpmHomeDir: '',
|
||||
storeDir,
|
||||
|
||||
@@ -1000,7 +1000,7 @@ describe('patch and commit in workspaces', () => {
|
||||
dependencies: {
|
||||
'is-positive': '1.0.0',
|
||||
'project-1': '1',
|
||||
hi: 'github:zkochan/hi#4cdebec76b7b9d1f6e219e06c42d92a6b8ea60cd',
|
||||
hi: 'https://codeload.github.com/zkochan/hi/tar.gz/4cdebec76b7b9d1f6e219e06c42d92a6b8ea60cd',
|
||||
},
|
||||
},
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user