72753c03 days ago18 lines · 520 B| 1 | import { describe, expect, it } from "bun:test"; |
| 2 | |
| 3 | import { describeScope } |
| 4 | |
| 5 | describe("describeScope", () |
| 6 | it("says what a scope allows", |
| 7 | expect(describeScope("repo |
| 8 | expect(describeScope("repo |
| 9 | }); |
| 10 | |
| 11 | it("falls back for a scope Ghost does not know", |
| 12 | expect(describeScope("workflow |
| 13 | title: "workflow", |
| 14 | detail: "Not used by Ghost.", |
| 15 | group: "other", |
| 16 | }); |
| 17 | }); |
| 18 | }); |