test: show topic data on test fail

This commit is contained in:
Barış Soner Uşaklı
2026-02-16 23:33:16 -05:00
parent 50d1ac378c
commit 6e6900baf5

View File

@@ -247,6 +247,7 @@ describe('Categories', () => {
assert.deepStrictEqual(
data.topics.map(t => t.title),
['[[topic:topic-is-deleted]]', 'Test Topic Title', 'Test Topic Title'],
JSON.stringify(data.topics, null, 2),
);
});