mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
add reset to pubsub for tests
This commit is contained in:
@@ -52,4 +52,7 @@ module.exports = {
|
||||
removeAllListeners: function (event) {
|
||||
get().removeAllListeners(event);
|
||||
},
|
||||
reset: function () {
|
||||
real = null;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user