All checks were successful
Validation applicative / TypeScript, tests et build (push) Successful in 2m22s
23 lines
804 B
TypeScript
23 lines
804 B
TypeScript
import { readFile } from "node:fs/promises";
|
|
import { resolve } from "node:path";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
describe("manifeste applicatif Budget SI", () => {
|
|
it("déclare les environnements, la catégorie et le dépôt Gitea attendus", async () => {
|
|
const raw = await readFile(resolve(process.cwd(), "app.json"), "utf8");
|
|
const manifest = JSON.parse(raw) as Record<string, unknown>;
|
|
|
|
expect(manifest).toMatchObject({
|
|
id: "itinova-budget-si",
|
|
name: "Gestion budget informatique",
|
|
category: "SANTINOVA",
|
|
giteaRepo: "manus-admin/itinova-budget-si",
|
|
image: "images/budget-si.jpg",
|
|
urls: {
|
|
recette: "https://budget-si.recette.santinova-soft.org",
|
|
prod: "https://budget-si.santinova-soft.org",
|
|
},
|
|
});
|
|
});
|
|
});
|