Skip to content

Commit cf80719

Browse files
chore: skip failing NUT until 12/16
1 parent 47f18c4 commit cf80719

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

test/nuts/agent.nut.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ import type { AgentCreateResult } from '../../src/commands/agent/create.js';
3131

3232
/* eslint-disable no-console */
3333

34+
/**
35+
* Returns it.skip if the current date is before the specified date, otherwise returns it.
36+
* Used to conditionally enable tests after a specific date.
37+
*/
38+
const itAfter = (date: Date) => (new Date() >= date ? it : it.skip);
39+
3440
let session: TestSession;
3541

3642
describe('plugin-agent NUTs', () => {
@@ -254,7 +260,8 @@ describe('plugin-agent NUTs', () => {
254260
expect(fileStat.size).to.be.greaterThan(0);
255261
});
256262

257-
it('should create new agent in org', async () => {
263+
// skip until 12/16 - should be fixed in server-side release then
264+
itAfter(new Date('2025-12-16'))('should create new agent in org', async () => {
258265
const expectedFilePath = join(session.project.dir, 'specs', specFileName);
259266
const name = 'Plugin Agent Test';
260267
const apiName = 'Plugin_Agent_Test';

0 commit comments

Comments
 (0)