Skip to content

Commit 7e18de9

Browse files
test: fix expected assertion to be less fragile
started to fail after concurrent merge
1 parent b065e65 commit 7e18de9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/__tests__/CodexACPAgent/fast-mode-config.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe("Fast mode session config", () => {
100100
},
101101
});
102102

103-
expect(response.configOptions).toEqual([createFastModeConfigOption(false)]);
103+
expect(response.configOptions).toContainEqual(createFastModeConfigOption(false));
104104
});
105105

106106
it("keeps Fast mode config options for non-JetBrains 2026.1 clients", async () => {
@@ -113,7 +113,7 @@ describe("Fast mode session config", () => {
113113
},
114114
});
115115

116-
expect(response.configOptions).toEqual([createFastModeConfigOption(false)]);
116+
expect(response.configOptions).toContainEqual(createFastModeConfigOption(false));
117117
});
118118

119119
it("toggles Fast mode through session config options", async () => {

0 commit comments

Comments
 (0)