Skip to content

Commit 912f2d8

Browse files
committed
test(codex): narrow diagnostics result text
1 parent bbea243 commit 912f2d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎extensions/codex/src/commands.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3154,7 +3154,7 @@ describe("codex command", () => {
31543154
const request = await handleCodexCommand(createContext(`diagnostics ${note}`, sessionFile), {
31553155
deps,
31563156
});
3157-
expect(request.text.split("\n")).toContain(`Note: ${expectedReason}`);
3157+
expect(requireResultText(request).split("\n")).toContain(`Note: ${expectedReason}`);
31583158
const token = readDiagnosticsConfirmationToken(request);
31593159
await handleCodexCommand(createContext(`diagnostics confirm ${token}`, sessionFile), { deps });
31603160

0 commit comments

Comments
 (0)