mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
node tests: Clear muted users before each test.
This commit is contained in:
committed by
Steve Howell
parent
efed2fc8bc
commit
78c2279c93
@@ -307,6 +307,8 @@ function test(label, f) {
|
||||
user_groups.add(backend);
|
||||
user_groups.add(call_center);
|
||||
|
||||
muting.set_muted_users([]);
|
||||
|
||||
f(override);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -23,6 +23,7 @@ function test(label, f) {
|
||||
run_test(label, (override) => {
|
||||
pmc.clear_for_testing();
|
||||
muting.set_muted_topics([]);
|
||||
muting.set_muted_users([]);
|
||||
people.initialize_current_user(15);
|
||||
f(override);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user