From 8ac0e549cb9252ceb1f8e4bd19e3a11697f8c225 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Mon, 6 Nov 2023 08:40:40 -0500 Subject: [PATCH] Fix jest test --- client/src/components/JobInformation/JobInformation.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/src/components/JobInformation/JobInformation.test.js b/client/src/components/JobInformation/JobInformation.test.js index 0eab9f09f0e0..09f8a7bb57be 100644 --- a/client/src/components/JobInformation/JobInformation.test.js +++ b/client/src/components/JobInformation/JobInformation.test.js @@ -21,7 +21,11 @@ describe("JobInformation/JobInformation.vue", () => { beforeEach(() => { axiosMock = new MockAdapter(axios); axiosMock.onGet(new RegExp(`api/configuration/decode/*`)).reply(200, { decoded_id: 123 }); - axiosMock.onGet("/api/jobs/test_id?full=True").reply(200, jobResponse); + axiosMock + .onGet( + "/api/jobs/test_id?full=True&stdout_position=0&stdout_length=50000&stderr_position=0&stderr_length=50000" + ) + .reply(200, jobResponse); }); afterEach(() => {