ui/dashboard #2

Open
evgeny wants to merge 325 commits from ui/dashboard into main
Showing only changes of commit 7edfedee66 - Show all commits

View File

@@ -147,7 +147,7 @@ describe("buildInlineKeyboard", () => {
},
];
for (const testCase of cases) {
const input = testCase.input.map((row) => row.map((button) => ({ ...button })));
const input = testCase.input?.map((row) => row.map((button) => ({ ...button })));
expect(buildInlineKeyboard(input), testCase.name).toEqual(testCase.expected);
}
});