mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 07:40:43 +01:00
reset post cache between each suite
This commit is contained in:
@@ -173,6 +173,8 @@ function setupMockDefaults(callback) {
|
||||
function (next) {
|
||||
var groups = require('../../src/groups');
|
||||
groups.resetCache();
|
||||
var posts = require('../../src/posts/cache');
|
||||
posts.cache.reset();
|
||||
next();
|
||||
},
|
||||
function (next) {
|
||||
|
||||
Reference in New Issue
Block a user