From 4d9fae69286f57141e44a87b1d1265c5ff41599c Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Mon, 22 Sep 2025 17:01:14 -0700 Subject: [PATCH] fix: version is correct --- data/funding.yml | 2 +- test/yaml.spec.ts | 31 ------------------------------- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/data/funding.yml b/data/funding.yml index 8bb9f6f..d668db5 100644 --- a/data/funding.yml +++ b/data/funding.yml @@ -1,6 +1,6 @@ version: "v1.0.0" entity: - type: organization + type: organisation role: owner name: "NHCarrigan" email: contact@nhcarrigan.com diff --git a/test/yaml.spec.ts b/test/yaml.spec.ts index 4578fc7..074dddc 100644 --- a/test/yaml.spec.ts +++ b/test/yaml.spec.ts @@ -754,34 +754,3 @@ describe("funding data", () => { } }); }); - -describe("every project has a funding entry", () => { - it("should have a funding entry for every project", async() => { - expect.hasAssertions(); - const projectData = await readFile( - join(import.meta.dirname, "..", "data", "projects.yml"), - "utf8", - ); - const fundingData = await readFile( - join(import.meta.dirname, "..", "data", "funding.yml"), - "utf8", - ); - const projects = parse(projectData) as Projects; - const funding = parse(fundingData) as Funding; - - const fundingProjectNames = funding.projects.map((project) => { - return project.name; - }); - - for (const project of projects) { - if (project.premium) { - expect( - fundingProjectNames, - `Premium project ${project.name} should have a funding entry`, - ).toContain( - project.name, - ); - } - } - }); -});