diff --git a/tests/weather-tool.test.ts b/tests/weather-tool.test.ts index 6d960cb..dea01fa 100644 --- a/tests/weather-tool.test.ts +++ b/tests/weather-tool.test.ts @@ -7,10 +7,10 @@ dotenv.config(); describe("weatherTool", () => { it("should return weather forecast data for Beijing", async () => { const weatherTool = new WeatherTool(process.env.OPENWEATHER_API_KEY!); - const result = await weatherTool.execute( - "What's the future weather in Beijing?" - ); + const input = "What's the future weather in London?"; + console.log(`🚀 ~ it ~ input:`, input); + const result = await weatherTool.execute(input); console.log(`🚀 ~ it ~ result:`, result); - expect(result).toContain("Beijing"); + expect(result).toContain("London"); }); }, 10000);