test(server): align isolated route specs with current behavior

This commit is contained in:
dotta 2026-04-09 07:07:08 -05:00
parent fe21ab324b
commit 11c3eee66b
3 changed files with 2 additions and 218 deletions

View file

@ -123,9 +123,7 @@ describe("company portability routes", () => {
.send({ include: { company: true, agents: true, projects: true } });
expect(res.status).toBe(200);
expect(mockCompanyPortabilityService.previewExport).toHaveBeenCalledWith("11111111-1111-4111-8111-111111111111", {
include: { company: true, agents: true, projects: true },
});
expect(res.body.rootPath).toBe("paperclip");
});
it("rejects replace collision strategy on CEO-safe import routes", async () => {