(t: number)
| 135 | }); |
| 136 | |
| 137 | const sample = (t: number) => ({ |
| 138 | t, |
| 139 | q: [ |
| 140 | { x: 0, y: 0 }, |
| 141 | { x: 10, y: 0 }, |
| 142 | { x: 10, y: 10 }, |
| 143 | { x: 0, y: 10 }, |
| 144 | ], |
| 145 | c: { x: 5, y: 5 }, |
| 146 | color: "rgb(34, 211, 238)", |
| 147 | opacity: 1, |
| 148 | }); |
| 149 | const oneElement: OnionElement[] = [{ selector: "#hero", samples: [sample(0), sample(2)] }]; |
| 150 | |
| 151 | describe("buildOnionSvg", () => { |
no outgoing calls
no test coverage detected