mirror of https://github.com/zulip/zulip.git
c90c8c0b19
The people.js tests were using _add_user function to add cross realm bots. The problem is that _add_user function doesn't properly simulates the adding process as it doesn't add the user in cross_realm_dict as well. To solve this and eliminate the need of calling people.initialize(), which means the params obj needs to be defined, we extracted the whole logic of adding a cross realm user into a separete function, add_cross_realm_user. |
||
---|---|---|
.. | ||
casper_lib | ||
casper_tests | ||
node_tests | ||
puppeteer_lib | ||
puppeteer_tests | ||
zjsunit | ||
.eslintrc.json | ||
run-casper |