diff --git a/tests/formulaic.spec.js b/tests/formulaic.spec.js index 75b96e9..019fcc6 100644 --- a/tests/formulaic.spec.js +++ b/tests/formulaic.spec.js @@ -210,7 +210,7 @@ describe("Formulaic", () => { expect(mockHttpClient.post).toHaveBeenCalledWith( `${formulaic.baseURL}/api/recipes/${TEST_FORMULA_ID}/chats`, - TEST_MESSAGES, + { messages: TEST_MESSAGES }, { "Content-Type": "application/json" } );