Function
writeRegistryConfig
(
dir: string,
paths: typeof DEFAULT_TEST_PATHS = DEFAULT_TEST_PATHS,
)
Source from the content-addressed store, hash-verified
| 181 | }; |
| 182 | |
| 183 | function writeRegistryConfig( |
| 184 | dir: string, |
| 185 | paths: typeof DEFAULT_TEST_PATHS = DEFAULT_TEST_PATHS, |
| 186 | ): void { |
| 187 | writeFileSync( |
| 188 | join(dir, "hyperframes.json"), |
| 189 | JSON.stringify({ |
| 190 | $schema: "https://hyperframes.heygen.com/schema/hyperframes.json", |
| 191 | registry: uniqueBase(), |
| 192 | paths, |
| 193 | }), |
| 194 | "utf-8", |
| 195 | ); |
| 196 | } |
| 197 | |
| 198 | // ── Tests ─────────────────────────────────────────────────────────────────── |
| 199 | |
Tested by
no test coverage detected