chore: remove mirror-token test, bump js-yaml

This commit is contained in:
priyagupta108
2026-09-09 11:15:20 +05:30
parent 57dbc09f9a
commit 7d5fa4e75b
2 changed files with 3 additions and 13 deletions
-10
View File
@@ -505,16 +505,6 @@ describe('installCpythonFromRelease auth gating', () => {
).resolves.toBe('Bearer MTOK');
});
it('does not prefix or rewrite a mirror-token', async () => {
setInputs({
'mirror-token': 'Basic dXNlcjpwYXNz',
mirror: 'https://cdn.example'
});
await expect(
downloadAuthFor('https://cdn.example/py.tar.gz')
).resolves.toBe('Basic dXNlcjpwYXNz');
});
it('withholds mirror-token from a same-host download URL on a different scheme', async () => {
setInputs({
'mirror-token': 'Bearer MTOK',