(s: string)
| 328 | x: 0, |
| 329 | }); |
| 330 | const kfOf = (s: string) => |
| 331 | parseGsapScript(s) |
| 332 | .animations[0]?.keyframes?.keyframes?.slice() |
| 333 | .sort((a, b) => a.percentage - b.percentage) |
| 334 | .map((k) => ({ percentage: k.percentage, properties: k.properties })); |
| 335 | expect(kfOf(newScript)).toEqual(kfOf(recast)); |
| 336 | |
| 337 | // Every keyframe carries `x` (the new prop backfilled at its default 0). |
no test coverage detected