# following tests \(\#3902\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a7901ab8e0d2ef25681f4607e975058d3c53dda9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a7901ab8e0d2ef25681f4607e975058d3c53dda9

Requested commit: a7901ab8e0d2ef25681f4607e975058d3c53dda9

Commit: a7901ab8e0d2ef25681f4607e975058d3c53dda9

Tree: c34d8133dd75705ba47500ad457cb9d13380c226

Author: Max Brunsfeld

Committer: GitHub

## Message

```
following tests (#3902)

Starting work on the following tests.

* The first failure was caused by not properly dropping the references,
which is now fixed.
* The next failure is caused by a `cx.after_window_update` being changed
to `cx.on_next_frame`. This doesn't seem to work (at least in tests),
but might also explain the flaky following behavior Max and I observed
if there's a timing bug in production too.
* * When you are following someone and they move their cursor you should
receive two proto messages: UpdateBuffer to move the cursor, and
UpdateFollowers to update where you're following. It seems like this
could be made a bit less chatty/fragile, but probably out of scope for
this.
* With that worked around, there's one more failure, but I haven't
looked into it yet. (possibly caused by an incorrect fix for the cx
one).
```

## Parents

- [7e810d7e0d1e9672696e4ad52d1211603ee7f8bf](https://git.cafe/gitcafe/zed/commit/7e810d7e0d1e9672696e4ad52d1211603ee7f8bf?format=markdown)

- [385cbfea2d9065ea1f9ca4bce595d777574c5c63](https://git.cafe/gitcafe/zed/commit/385cbfea2d9065ea1f9ca4bce595d777574c5c63?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a7901ab8e0d2ef25681f4607e975058d3c53dda9?format=markdown)
