Skip to content

Commit 2c19865

Browse files
committed
add timeout
1 parent 8e902ba commit 2c19865

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test5-pcb-cutout.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test("test pcb_cutout conversion - all shapes", async () => {
6161
const result = await runTscircuitCode(tscircuit)
6262
expect(Array.isArray(result)).toBe(true)
6363
expect(result).not.toHaveLength(0)
64-
})
64+
}, 100000)
6565

6666
test("test pcb_cutout conversion - rect without rotation", async () => {
6767
const circuitJson: AnyCircuitElement[] = [
@@ -94,7 +94,7 @@ test("test pcb_cutout conversion - rect without rotation", async () => {
9494
const result = await runTscircuitCode(tscircuit)
9595
expect(Array.isArray(result)).toBe(true)
9696
expect(result).not.toHaveLength(0)
97-
})
97+
}, 100000)
9898

9999
test("test pcb_cutout conversion - mixed with other elements", async () => {
100100
const circuitJson: AnyCircuitElement[] = [
@@ -147,4 +147,4 @@ test("test pcb_cutout conversion - mixed with other elements", async () => {
147147
const result = await runTscircuitCode(tscircuit)
148148
expect(Array.isArray(result)).toBe(true)
149149
expect(result).not.toHaveLength(0)
150-
})
150+
}, 100000)

tests/test6-support-pcb-notes.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test("test6 support pcb notes", async () => {
2727

2828
expect(Array.isArray(result)).toBe(true)
2929
expect(result).not.toHaveLength(0)
30-
})
30+
}, 100000)
3131

3232
const circuitJson = [
3333
{

0 commit comments

Comments
 (0)