node tests: Move peer_data tests to new peer_data.js.

This commit is contained in:
Steve Howell
2021-01-27 16:15:55 +00:00
committed by Tim Abbott
parent 2edfdb4ff8
commit 6c4b1183f2
3 changed files with 299 additions and 270 deletions

View File

@@ -1,13 +1,6 @@
const {LazySet} = require("./lazy_set");
const people = require("./people");
/*
For legacy reasons this module is mostly tested
by frontend_tests/node_tests/stream_data.js.
*/
// This maps a stream_id to a LazySet of user_ids who are subscribed.
// We maintain the invariant that this has keys for all all stream_ids
// that we track in the other data structures. We intialize it during