mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 01:21:13 +01:00
test: add await to check tests
This commit is contained in:
@@ -267,7 +267,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
|
|||||||
|
|
||||||
if (!hasTid && options.cid) {
|
if (!hasTid && options.cid) {
|
||||||
// New topic, have category announce it
|
// New topic, have category announce it
|
||||||
activitypub.out.announce.topic(tid);
|
await activitypub.out.announce.topic(tid);
|
||||||
}
|
}
|
||||||
|
|
||||||
return { tid, count };
|
return { tid, count };
|
||||||
|
|||||||
Reference in New Issue
Block a user