Steve Howell
2d8f7843a2
node tests: Consolidate some set_global() calls.
...
Hopefully these cleanups will make it a little easier
to migrate our tests to take advantage of a true
module loading system.
2018-08-02 08:02:12 -04:00
Shubham Padia
1364971a17
search: Extract phrase_match to common.js.
...
Extracts phrase_match to common.js so it can be used by other
components like integrations search.
2018-06-26 20:38:47 -04:00
Steve Howell
42435db492
Add run_test helper for individual tests.
...
This run_test helper sets up a convention that allows
us to give really short tracebacks for errors, and
eventually we can have more control over running
individual tests. (The latter goal has some
complications, since we often intentionally leak
setup in tests.)
2018-05-15 08:24:44 -07:00
Steve Howell
bf0ed5915c
node tests: Use zrequire in common.js.
2017-11-08 12:24:17 -08:00
Steve Howell
689605dd2e
Introduce make_zjquery().
2017-05-24 17:41:41 -07:00
Steve Howell
7c1b555331
node tests: Use zjquery for common.js tests.
2017-05-23 18:52:25 -07:00
Joshua Pan
f8e10ed2f6
node_tests: Add test coverage to autofocus.
2017-05-23 10:26:30 -07:00