()
| 55 | |
| 56 | describe("setClassStyle — update existing rule", () => { |
| 57 | function applyBoxOpacity1() { |
| 58 | const result = applyOp(fresh(), { |
| 59 | type: "setClassStyle", |
| 60 | selector: ".box", |
| 61 | styles: { opacity: "1" }, |
| 62 | }); |
| 63 | return String(result.forward[0]?.value ?? ""); |
| 64 | } |
| 65 | |
| 66 | it("adds a new property to an existing rule", () => { |
| 67 | const parsed = fresh(); |
no test coverage detected