# Fix integration test relying on deferred happening after focus · gitcafe/zed

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

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

Visibility: public

Requested revision: 51574427036bf619acd62174ce8c436efd779e04

Requested commit: 51574427036bf619acd62174ce8c436efd779e04

Commit: 51574427036bf619acd62174ce8c436efd779e04

Tree: c61b92b3c8415f001ba7fae1d187f7e7616152d9

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Fix integration test relying on deferred happening after focus

Focus is now one of the last things that happens during `flush_effects`,
and we shouldn't have relied on `defer` in the first place to verify
focus changes.

```

## Parents

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

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