node tests: Split up tutorial into smaller examples.

I didn't bother to keep the very last test from
tutorial, which has some complications related
to clearing stream_list data and was kind of
overkill.
This commit is contained in:
Steve Howell
2021-03-15 12:03:00 +00:00
committed by Steve Howell
parent bbec2d9625
commit 198c67a9bd
10 changed files with 766 additions and 810 deletions

View File

@@ -44,7 +44,8 @@ there are, you should strive to follow the patterns of the existing tests
and add your own tests.
A good first test to read is
[tutorial.js](https://github.com/zulip/zulip/blob/master/frontend_tests/node_tests/tutorial.js).
[example1.js](https://github.com/zulip/zulip/blob/master/frontend_tests/node_tests/example1.js).
(And then there are several other example files.)
## How the node tests work