Skip to content

Commit ee89999

Browse files
chore: enable publishing NUT, try windows fix
1 parent 35c2662 commit ee89999

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/nuts/agent.publish.nut.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('agent publish authoring-bundle NUTs', () => {
4040
await session?.clean();
4141
});
4242

43-
it.skip('should publish a new agent (first version)', async () => {
43+
it('should publish a new agent (first version)', async () => {
4444
const username = getDevhubUsername(session);
4545

4646
// Generate a unique bundle name to ensure it's a new agent
@@ -143,7 +143,7 @@ describe('agent publish authoring-bundle NUTs', () => {
143143
}
144144
});
145145

146-
it.skip('should publish a new version of an existing agent', async () => {
146+
it('should publish a new version of an existing agent', async () => {
147147
const username = getDevhubUsername(session);
148148

149149
// Publish the existing Willie_Resort_Manager authoring bundle

test/nuts/agent.test.create.nut.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ testCases:
5959
writeFileSync(specPath, testSpecContent);
6060

6161
const commandResult = execCmd<AgentTestCreateResult>(
62-
`agent test create --api-name ${testApiName} --spec ${specPath} --target-org ${username} --json`,
62+
`agent test create --api-name "${testApiName}" --spec "${specPath}" --target-org ${username} --json`,
6363
{ ensureExitCode: 0 }
6464
);
6565

@@ -84,7 +84,7 @@ testCases:
8484
const invalidSpecPath = join(session.project.dir, 'invalid', 'testSpec.yaml');
8585

8686
execCmd<AgentTestCreateResult>(
87-
`agent test create --api-name ${testApiName} --spec ${invalidSpecPath} --target-org ${username} --json`,
87+
`agent test create --api-name "${testApiName}" --spec "${invalidSpecPath}" --target-org ${username} --json`,
8888
{ ensureExitCode: 1 }
8989
);
9090
});
@@ -97,7 +97,7 @@ testCases:
9797

9898
// Missing --spec
9999
const testApiName = genUniqueString('Test_Agent_%s');
100-
execCmd<AgentTestCreateResult>(`agent test create --api-name ${testApiName} --target-org ${username} --json`, {
100+
execCmd<AgentTestCreateResult>(`agent test create --api-name "${testApiName}" --target-org ${username} --json`, {
101101
ensureExitCode: 1,
102102
});
103103
});

0 commit comments

Comments
 (0)