@tscircuit/eval 0.0.278 → 0.0.280

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,23 +11,27 @@ const example4 = {
11
11
  },
12
12
  }
13
13
 
14
- test("example4-root-child-issue", async () => {
15
- const circuitWebWorker = await createCircuitWebWorker({
16
- webWorkerUrl: new URL("../webworker/entrypoint.ts", import.meta.url),
17
- })
14
+ test(
15
+ "example4-root-child-issue",
16
+ async () => {
17
+ const circuitWebWorker = await createCircuitWebWorker({
18
+ webWorkerUrl: new URL("../webworker/entrypoint.ts", import.meta.url),
19
+ })
18
20
 
19
- await circuitWebWorker.executeWithFsMap({
20
- fsMap: example4.fsMap,
21
- entrypoint: example4.entrypoint,
22
- })
21
+ await circuitWebWorker.executeWithFsMap({
22
+ fsMap: example4.fsMap,
23
+ entrypoint: example4.entrypoint,
24
+ })
23
25
 
24
- await circuitWebWorker.renderUntilSettled()
26
+ await circuitWebWorker.renderUntilSettled()
25
27
 
26
- const circuitJson = await circuitWebWorker.getCircuitJson()
28
+ const circuitJson = await circuitWebWorker.getCircuitJson()
27
29
 
28
- const led = circuitJson.find((el: any) => el.name === "LED")
29
- expect(led).toBeDefined()
30
- expect(led?.type).toBe("source_component")
30
+ const led = circuitJson.find((el: any) => el.name === "LED")
31
+ expect(led).toBeDefined()
32
+ expect(led?.type).toBe("source_component")
31
33
 
32
- await circuitWebWorker.kill()
33
- })
34
+ await circuitWebWorker.kill()
35
+ },
36
+ 30 * 1000,
37
+ )