We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27af4f6 commit b0c817eCopy full SHA for b0c817e
1 file changed
src/plugin-sdk/discord.test.ts
@@ -161,7 +161,7 @@ describe("discord plugin-sdk facade", () => {
161
});
162
163
expect(mocks.runtimeModule.autoBindSpawnedDiscordSubagent).toHaveBeenCalledTimes(1);
164
- const callParams = mocks.runtimeModule.autoBindSpawnedDiscordSubagent.mock.calls.at(0)?.[0];
+ const callParams = mocks.runtimeModule.autoBindSpawnedDiscordSubagent.mock.calls[0]?.[0];
165
expect(callParams.agentId).toBe("agent");
166
expect(callParams.cfg).toBe(mocks.runtimeConfig);
167
expect(callParams.childSessionKey).toBe("child");
0 commit comments