Skip to content

Commit

Permalink
Fix jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Nov 6, 2023
1 parent 27b0b89 commit 1f25df5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ 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(() => {
Expand Down

0 comments on commit 1f25df5

Please sign in to comment.