LibreChat/client/test
Marco Beretta f7d95f0f1c
📮 refactor: Derive a Send's Code Decision Inside @librechat/chat (#17797)
* refactor: Derive a Send's Code Decision Inside @librechat/chat

TurnServices.resolveCode computed the code workspace and approval a send
carries in the app. It becomes readCodeInputs, a storage read of the raw values,
and the package derives the decision through resolveTurnCode. The read goes
through a ref updated each render, so a captured adapter still reads the newest
render's values.

* test: Close Mocked Readers Over Each Render in the Freshness Spec

* test: Close the Mobile Drawer Through the Race-Tolerant Helper in Two Agent Specs

Two specs closed the drawer after selecting an agent with a bare click on
Close sidebar. The drawer closes itself as the selection lands, so the click
waited on a button that stopped being visible and ran into the 120 s test
timeout on phones. closeMobileDrawer, which #17764 added for this, handles that
race and keeps the inert check.
2026-11-07 18:51:32 +01:00
..
babel-plugin-transform-import-meta-hot.cjs
canvasMock.ts 🎨 feat: Theme-Adaptive SVG Support for Custom MCP and Group Icons (#13817) 2026-09-04 10:49:43 -04:00
chatHost.tsx 🧰 refactor: Move useChatHelpers and ChatProvider into the Chat Package (#17446) 2026-10-26 22:47:11 +01:00
composerHost.tsx ⌨️ refactor: Move Composer Input Controls Into the Chat Package (#17551) 2026-10-30 00:24:35 +01:00
dropdown.ts 🔇 refactor: Quiet Framework Logging in Unit Tests (#15363) 2026-08-30 15:26:30 -04:00
harness.tsx 🧭 refactor: Move the Chat Surface, Task Panel and Activity Group Into @librechat/chat (#17669) 2026-10-31 22:09:52 +01:00
intersectionObserver.mock 🧵 refactor: Render the Package Message List by Default in ChatScreen (#17753) 2026-11-05 22:35:15 +01:00
itemFactories.ts
layout-test-utils.tsx
localStorage.mock
matchMedia.mock
messagesHost.tsx 🧩 refactor: Move the Message Rows Into @librechat/chat (#17838) 2026-11-07 18:50:53 +01:00
mockMorphIcon.tsx 🧹 refactor: Remove Dead Client Hooks, Store Modules and Utilities (#17111) 2026-10-15 12:22:13 +02:00
polyfills.js 🔒 chore: Upgrade react-router-dom to v7.18.2 (security) (#14582) 2026-08-01 17:19:52 -04:00
resizeObserver.mock
setupTests.js 🧵 refactor: Render the Package Message List by Default in ChatScreen (#17753) 2026-11-05 22:35:15 +01:00
steerHost.tsx 🧷 refactor: Require a Mounted Steer Host Instead of a Module Default (#17164) 2026-10-18 20:28:50 +02:00
streamHost.tsx 🛰️ refactor: Stream Assistants Turns Through @librechat/chat (#17697) 2026-11-02 18:36:32 +01:00
turnServices.ts 📮 refactor: Derive a Send's Code Decision Inside @librechat/chat (#17797) 2026-11-07 18:51:32 +01:00