MCPcopy Create free account
hub / github.com/Noumena-Network/code / setMacro

Function setMacro

src/utils/nativeInstaller/download.test.ts:19–23  ·  view source on GitHub ↗
(nativePackageUrl?: string)

Source from the content-addressed store, hash-verified

17const originalNativePackageUrl = process.env.NCODE_NATIVE_PACKAGE_URL
18
19function setMacro(nativePackageUrl?: string): void {
20 ;(globalThis as { MACRO?: { NATIVE_PACKAGE_URL?: string } }).MACRO = {
21 NATIVE_PACKAGE_URL: nativePackageUrl,
22 }
23}
24
25beforeEach(() => {
26 axios.get = originalAxiosGet

Callers 1

download.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected