Follow-up from "Update `deckar01-task_list` gem to fix unrecognized task item"
@ekigbo discovered several refactorings and and cleanup that can be done in spec/javascripts/merge_request_spec.js that were unrelated to the MR changes. So this ~"technical debt" issue is to address those concerns, including the possibility of migrating the entire spec to jest.
Comments to be addressed: