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 2b4a901 commit 8260d54Copy full SHA for 8260d54
test/nuts/agent.nut.ts
@@ -266,6 +266,9 @@ describe('plugin-agent NUTs', () => {
266
const command = `agent create --spec ${expectedFilePath} --target-org ${username} --name "${name}" --api-name ${apiName} --json`;
267
const result = execCmd<AgentCreateResult>(command, { ensureExitCode: 0 }).jsonOutput?.result;
268
expect(result).to.be.ok;
269
+ if (!result?.isSuccess) {
270
+ console.dir(result, { depth: 10 });
271
+ }
272
expect(result?.isSuccess).to.equal(true);
273
expect(result?.agentId?.botId).to.be.ok;
274
expect(result?.agentDefinition.sampleUtterances.length).to.be.greaterThanOrEqual(1);
0 commit comments