mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
tests: Unmock state_data.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
95153b3f0c
commit
e84bb9ff2c
@@ -5,9 +5,12 @@ const assert = require("node:assert/strict");
|
||||
const {zrequire} = require("./lib/namespace");
|
||||
const {run_test} = require("./lib/test");
|
||||
const blueslip = require("./lib/zblueslip");
|
||||
const {realm} = require("./lib/zpage_params");
|
||||
|
||||
const user_groups = zrequire("user_groups");
|
||||
const {set_realm} = zrequire("state_data");
|
||||
|
||||
const realm = {};
|
||||
set_realm(realm);
|
||||
|
||||
run_test("user_groups", () => {
|
||||
const students = {
|
||||
|
||||
Reference in New Issue
Block a user