fix: get names from categories

This commit is contained in:
2026-08-25 11:44:36 +05:00
parent 6d770dc642
commit 96b8c00129
3 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ describe('реестр инструментов', () => {
});
it.each(TOOLS.map((t) => [t.id, t] as const))('%s: категория валидна', (_, tool) => {
expect(CATEGORIES.map((c) => c.id)).toContain(tool.category);
expect(CATEGORIES).toContain(tool.category);
});
it.each(TOOLS.map((t) => [t.id, t] as const))('%s: исполнители определены', (_, tool) => {