Skip to content

Commit

Permalink
fix: apply prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lucgagan committed Jun 26, 2023
1 parent 59aa9dc commit 449ea19
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/createChat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,11 @@ test("calls user identified function", async () => {
functionCall: "auto",
});

await chat.sendMessage(
"What is the weather in Albuquerque?",
{
functionCall: {
name: "get_current_weather_v2",
},
}
);
await chat.sendMessage("What is the weather in Albuquerque?", {
functionCall: {
name: "get_current_weather_v2",
},
});

assert.equal(getCurrentWeatherV1.mock.calls.length, 0);
assert.equal(getCurrentWeatherV2.mock.calls.length, 1);
Expand Down

0 comments on commit 449ea19

Please sign in to comment.