Skip to content

Commit 476e9f0

Browse files
committed
fix: remove unnecessary type casts from tests
1 parent f3f0e30 commit 476e9f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/e2e/callModel.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe("callModel E2E Tests", () => {
3434
role: "user",
3535
content: "Say 'chat test' and nothing else.",
3636
},
37-
] as Message[],
37+
],
3838
});
3939

4040
const text = await response.getText();
@@ -60,7 +60,7 @@ describe("callModel E2E Tests", () => {
6060
role: "user",
6161
content: "What is my favorite color?",
6262
},
63-
] as Message[],
63+
],
6464
});
6565

6666
const text = await response.getText();
@@ -81,7 +81,7 @@ describe("callModel E2E Tests", () => {
8181
role: "user",
8282
content: "Say hello.",
8383
},
84-
] as Message[],
84+
],
8585
});
8686

8787
const text = await response.getText();
@@ -140,7 +140,7 @@ describe("callModel E2E Tests", () => {
140140
role: "user",
141141
content: "Get the weather in Tokyo using the weather tool.",
142142
},
143-
] as Message[],
143+
],
144144
tools: [
145145
{
146146
type: "function" as const,

0 commit comments

Comments
 (0)