1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Make a comment and test name make more sense

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-turso 2022-10-26 11:03:06 +03:00
parent 2a7fe6223b
commit 110c26722a

View File

@ -206,7 +206,7 @@ Available parent ids are:
);
});
describe("given items with missing parent ids, when creating composite with handling for missing parents", () => {
describe("given items with missing parents, when creating composite with handling for missing parents", () => {
let composite: Composite<any>;
let handleMissingParentIdMock: jest.Mock;
@ -217,7 +217,8 @@ Available parent ids are:
const someItemWithMissingParentId = {
id: "some-orphan-id",
// Note: missing parent id makes the item orphan.
// Note: the item corresponding to this id does not exist,
// making this item have a "missing parent".
parentId: "some-missing-id",
};