zulip/frontend_tests
Greg Price 71596648c2 typing_status: Switch sentinel "recipient" value to `null`.
This feels a bit more semantically appropriate: it more clearly says
"here's some information: there is no (relevant) recipient", rather
than "no information available".  (Both `null` and `undefined` in JS
can have either meaning, but `undefined` especially commonly means
the latter.)

Concretely, it ensures a bit more explicitness where the value
originates: a bare `return;` becomes `return null;`, reflecting the
fact that it is returning a quite informative value.

Also make the implementation more explicit about what's expected here,
replacing truthiness tests with `!== null`.  (A bit more idiomatic
would be `!= null`, which is equivalent when the value is well-typed
and a bit more robust to ill-typing bugs.  But lint complains about
that version.)
2019-10-24 14:56:56 -07:00
..
casper_lib eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
casper_tests settings: Add FAKE_EMAIL_DOMAIN setting. 2019-08-30 14:59:00 -07:00
node_tests typing_status: Switch sentinel "recipient" value to `null`. 2019-10-24 14:56:56 -07:00
zjsunit shared: Set up a way to share some frontend code with the mobile app. 2019-10-17 16:48:23 -07:00
.eslintrc.json lint: Check eslint indentation for casper tests. 2018-05-06 19:35:18 -07:00
run-casper node_cache: Run yarn with --ignore-scripts. 2019-08-26 14:36:03 -07:00