Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ download.test.ts
File
download.test.ts
src/utils/nativeInstaller/download.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
axios from
'axios'
2
import
{ afterEach, beforeEach, describe, expect, it } from
'bun:test'
3
import
{ createHash } from
'crypto'
4
import
{ mkdtemp, readFile, rm } from
'fs/promises'
Callers
nothing calls this directly
Calls
8
getLatestVersionFromGithubReleases
Function · 0.85
getPlatform
Function · 0.85
getBinaryName
Function · 0.85
rm
Function · 0.85
downloadVersionFromGithubRelease
Function · 0.85
readFile
Function · 0.85
setMacro
Function · 0.70
getLatestVersion
Function · 0.70
Tested by
no test coverage detected