forked from r.muellner/velum-raycast
feat: review text hits and release false-positive mappings
This commit is contained in:
@@ -60,6 +60,16 @@ describe("Nachbearbeitung von Projektständen", () => {
|
||||
expect(plan.mapping).toEqual({});
|
||||
});
|
||||
|
||||
it("gibt auch gruppierte Begriffe samt Verweisen frei und verwendet den Hauptbegriff", () => {
|
||||
const plan = revision.planProjectRevision({
|
||||
BEGRIFF_01: { type: "BEGRIFF", original: "Kundensoftware" },
|
||||
BEGRIFF_02: { type: "BEGRIFF", original: "Kunden-App", merged_into: "BEGRIFF_01" },
|
||||
}, new Set(["BEGRIFF_02"]), {});
|
||||
expect(plan.released).toEqual(["BEGRIFF_01", "BEGRIFF_02"]);
|
||||
expect(plan.replacements.BEGRIFF_02.original).toBe("Kundensoftware");
|
||||
expect(plan.mapping).toEqual({});
|
||||
});
|
||||
|
||||
it("repariert bereits gespeicherte Personen-Zusammenführungen in Inhalt und Dateiname", async () => {
|
||||
const root = await fs.mkdtemp(join(tmpdir(), "velum-merge-repair-"));
|
||||
roots.push(root);
|
||||
|
||||
Reference in New Issue
Block a user