Skip to content

Node.js based forum software built for the modern web

test: show topic data on test fail

Barış Soner Uşaklı6e6900baf5de
diff --git a/test/categories.js b/test/categories.js
index 7a622d1188..9f666af5dd 100644
--- a/test/categories.js
+++ b/test/categories.js
@@ -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),
);
});