fix: version is correct
Node.js CI / Lint and Test (push) Failing after 49s

This commit is contained in:
2025-09-22 17:01:14 -07:00
parent 01904e7671
commit 4d9fae6928
2 changed files with 1 additions and 32 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
version: "v1.0.0"
entity:
type: organization
type: organisation
role: owner
name: "NHCarrigan"
email: contact@nhcarrigan.com
-31
View File
@@ -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,
);
}
}
});
});