Skip to content

Commit 7af428c

Browse files
committed
chore: fix lint errors
1 parent cc93c0f commit 7af428c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/test/experimental/tasks/task.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { isTerminal, TaskCreationParamsSchema } from '@modelcontextprotocol/core';
21
import type { Task } from '@modelcontextprotocol/core';
2+
import { isTerminal, TaskCreationParamsSchema } from '@modelcontextprotocol/core';
33
import { describe, expect, it } from 'vitest';
44

55
describe('Task utility functions', () => {
@@ -118,7 +118,7 @@ describe('Task Schema Validation', () => {
118118

119119
describe('TaskCreationParams Schema Validation', () => {
120120
it('should accept ttl as a number', () => {
121-
const result = TaskCreationParamsSchema.safeParse({ ttl: 60000 });
121+
const result = TaskCreationParamsSchema.safeParse({ ttl: 60_000 });
122122
expect(result.success).toBe(true);
123123
});
124124

@@ -138,7 +138,7 @@ describe('TaskCreationParams Schema Validation', () => {
138138
});
139139

140140
it('should accept both ttl and pollInterval', () => {
141-
const result = TaskCreationParamsSchema.safeParse({ ttl: 60000, pollInterval: 1000 });
141+
const result = TaskCreationParamsSchema.safeParse({ ttl: 60_000, pollInterval: 1000 });
142142
expect(result.success).toBe(true);
143143
});
144144
});

0 commit comments

Comments
 (0)