Implement generic expand and navigation feature

This commit is contained in:
Uwe Klinger
2021-05-11 12:10:25 +02:00
parent 016587094f
commit 7ae992c5bb
3 changed files with 276 additions and 0 deletions

View File

@@ -172,5 +172,15 @@ describe("Notes", () => {
});
});
it("get notes via navigation", async () => {
const { status, data } = await GET("/notes/Suppliers('11')/notes");
expect({ status, data }).to.containSubset({
status: 200,
data: {value: SuppliersExpandNotes.value[0].notes },
});
});
after(() => mockServer.close());
});