# Improve support for gpui tests that need multiple contexts · gitcafe/zed

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

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

Visibility: public

Requested revision: f46c0a790e89d56404bf7ee80488fc911b5ce32b

Requested commit: f46c0a790e89d56404bf7ee80488fc911b5ce32b

Commit: f46c0a790e89d56404bf7ee80488fc911b5ce32b

Tree: 7f74c1b50d816431dc279d8e7b5640b1beaa5fd5

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Improve support for gpui tests that need multiple contexts

If a test function takes multiple contexts, pass it however many
distinct contexts are needed. Construct each one with a different
starting entity id so that they do not share any entity ids.

```

## Parents

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

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