@marimo-team/frontend 0.24.3-dev71 → 0.24.3-dev73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -155,21 +155,32 @@ describe("AgentPanel initialization", () => {
|
|
|
155
155
|
|
|
156
156
|
await act(async () => initialization.resolve(initialized));
|
|
157
157
|
expect(agent.authenticate).not.toHaveBeenCalled();
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
158
|
+
expect(agent.loadSession.mock.calls).toEqual(
|
|
159
|
+
sessionId
|
|
160
|
+
? [
|
|
161
|
+
[
|
|
162
|
+
{
|
|
163
|
+
sessionId,
|
|
164
|
+
cwd: "/notebooks",
|
|
165
|
+
mcpServers: [],
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
]
|
|
169
|
+
: [],
|
|
170
|
+
);
|
|
171
|
+
expect(agent.newSession.mock.calls).toStrictEqual(
|
|
172
|
+
sessionId
|
|
173
|
+
? []
|
|
174
|
+
: [
|
|
175
|
+
[
|
|
176
|
+
{
|
|
177
|
+
cwd: "/notebooks",
|
|
178
|
+
mcpServers: [],
|
|
179
|
+
_meta: undefined,
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
],
|
|
183
|
+
);
|
|
173
184
|
expect(
|
|
174
185
|
screen.getByRole("button", { name: "Restart" }),
|
|
175
186
|
).toBeInTheDocument();
|