From 4bcf7f7789d7f2b372b03c282b687b9bbfd156bf Mon Sep 17 00:00:00 2001 From: James Perretta Date: Fri, 23 Aug 2024 11:57:29 -0400 Subject: [PATCH] Wrap lines --- .../submission_detail/ag_test_command_result_detail.vue | 3 ++- .../test_ag_tests/test_ag_test_case_settings.ts | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/project_view/submission_detail/ag_test_command_result_detail.vue b/src/components/project_view/submission_detail/ag_test_command_result_detail.vue index 6fe9ffc1..9321ebc7 100644 --- a/src/components/project_view/submission_detail/ag_test_command_result_detail.vue +++ b/src/components/project_view/submission_detail/ag_test_command_result_detail.vue @@ -246,7 +246,8 @@ export default class AGTestCommandResultDetail extends Vue implements Created{ async created() { if (this.d_globals.user_roles.is_staff) { - let ag_test_command = await AGTestCommand.get_by_pk(this.ag_test_command_result.ag_test_command_pk); + let ag_test_command = await AGTestCommand.get_by_pk( + this.ag_test_command_result.ag_test_command_pk); this.d_staff_description = ag_test_command.staff_description; } return this.get_output(); diff --git a/tests/test_components/test_project_admin/test_ag_tests/test_ag_test_case_settings.ts b/tests/test_components/test_project_admin/test_ag_tests/test_ag_test_case_settings.ts index 40890959..a847fe97 100644 --- a/tests/test_components/test_project_admin/test_ag_tests/test_ag_test_case_settings.ts +++ b/tests/test_components/test_project_admin/test_ag_tests/test_ag_test_case_settings.ts @@ -115,7 +115,9 @@ describe('AG test case settings form tests', () => { set_validated_input_text(internal_admin_notes_input, "Test case level description"); await wrapper.vm.$nextTick(); expect(validated_input_is_valid(internal_admin_notes_input)).toBe(true); - expect(component.d_ag_test_case!.internal_admin_notes).toEqual("Test case level description"); + expect( + component.d_ag_test_case!.internal_admin_notes + ).toEqual("Test case level description"); component.d_ag_test_case!.internal_admin_notes = "Another description"; await wrapper.vm.$nextTick();