Compare commits

..

1 Commits

Author SHA1 Message Date
GitHub Action 2f5e7bc67f build 2026-11-09 22:43:15 +00:00
3 changed files with 24187 additions and 6 deletions
-3
View File
@@ -11,8 +11,6 @@ pids
*.seed *.seed
*.pid.lock *.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul # Coverage directory used by tools like istanbul
coverage coverage
@@ -64,7 +62,6 @@ node_modules
coverage coverage
# Transpiled JS # Transpiled JS
lib/
# Planning docs # Planning docs
docs/ docs/
+24185
View File
File diff suppressed because one or more lines are too long
+2 -3
View File
@@ -664,9 +664,8 @@ describe('run.ts', () => {
stubDownloadChain() stubDownloadChain()
inputs('3.14', '', '', 'https://fallback.tld') inputs('3.14', '', '', 'https://fallback.tld')
vi.spyOn(globalThis, 'fetch').mockImplementation(async (input) => { vi.spyOn(globalThis, 'fetch').mockImplementation(async (input) => {
const requestUrl = new URL(String(input)) const url = String(input)
const primaryBaseUrl = new URL(downloadBaseURL) if (url.startsWith(downloadBaseURL)) {
if (requestUrl.origin === primaryBaseUrl.origin) {
throw new Error('Primary unavailable') throw new Error('Primary unavailable')
} }
return { return {