Skip to content

Commit e215cd5

Browse files
Refactor: Remove unnecessary nullish checks from test case tool schema
1 parent f309c86 commit e215cd5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/tools/testmanagement.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ export default function addTestManagementTools(server: McpServer) {
127127
issues: z
128128
.array(z.string())
129129
.optional()
130-
.nullish()
131130
.describe(
132131
"List of the linked Jira, Asana or Azure issues ID's. This should be strictly in array format not the string of json.",
133132
),
@@ -149,14 +148,12 @@ export default function addTestManagementTools(server: McpServer) {
149148
tags: z
150149
.array(z.string())
151150
.optional()
152-
.nullish()
153151
.describe(
154152
"Tags to attach to the test case. This should be strictly in array format not the string of json",
155153
),
156154
custom_fields: z
157155
.record(z.string(), z.string())
158156
.optional()
159-
.nullish()
160157
.describe("Map of custom field names to values."),
161158
},
162159
async (args) => {

0 commit comments

Comments
 (0)