# agent: Fix handoff feature flag tests \(\#58916\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d24b14a26c3acac456a88674f7b9849429936500

Requested commit: d24b14a26c3acac456a88674f7b9849429936500

Commit: d24b14a26c3acac456a88674f7b9849429936500

Tree: be70ffe6ca9bfc9391cd4281ba2289f8d1f559bb

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Fix handoff feature flag tests (#58916)

Accidentally broke CI in #58891

Since
https://github.com/zed-industries/zed/blob/c68bc98bacb80c34df0e1b6ef4de186d763b3820/crates/feature_flags/src/store.rs#L180
defaults to true in debug mode (effectively sets staff to `true`) the
tests would fail.

We can work around this by manually disabling the feature flag for tests
in settings.

Also, since we are planning to ship to preview tomorrow these tests will
be removed soon.


Release Notes:

- N/A
```

## Parents

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

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