test.govlab/quality/core/loaders/config.loader.test.ts
test.govlab/quality/core/loaders/config.loader.test.ts is a file in Codebase Testing. 9 lines of code and 0 definitions.
import { expect, test } from "vitest";
import { loadGovlabConfig, resolveConfigInDir } from "@govlab/quality/core/loaders/config.loader.ts";
import { ROOT } from "@ssot/paths";
import { tmpdir } from "node:os";
test("the workspace config resolves and loads, and a folder without one resolves to null", async () => {
expect(resolveConfigInDir(tmpdir())).toBeNull();
const config = await loadGovlabConfig(ROOT);
expect(config.qualityMaster?.ecosystems).toContain("typescript");
});