zulip/frontend_tests
Steve Howell 3e4326afda refactor: Extract email_for_user_settings.
We want to be able to unit test this value,
since it's conditional on several factors:

    - am I an admin?
    - can non-admins view emails?
    - do we have delivery_email for the user?

I'm mocking show_email in the tests, since the
show_email code is in `settings_org` and
kind of hard to unit test.  It's not impossible,
but it's too much for this commit.  (Either
we need to extract it out to a nice file or
deal with mocking jQuery.  That module is
mostly data-oriented, so it would be nice
to have something like `settings_config` that
is actually pure data.)
2019-12-28 11:22:24 -08:00
..
casper_lib compose_state: Rename compost_state.recipient to be about PMs only. 2019-12-02 08:53:55 -08:00
casper_tests message_edit: Add message edit local echo. 2019-11-20 17:40:19 -08:00
node_tests refactor: Extract email_for_user_settings. 2019-12-28 11:22:24 -08:00
zjsunit zjsunit: Remove set_global side effect from zrequire. 2019-11-13 14:29:17 -08:00
.eslintrc.json lint: Check eslint indentation for casper tests. 2018-05-06 19:35:18 -07:00
run-casper test-backend, run-casper: Remove proxy vars instead of setting to "". 2019-10-28 15:47:45 -07:00