Refactor deploy token settings tests
What does this MR do and why?
Minor refactor the deploy token settings tests following on from !128678 (comment 1511488282)
- Adds some related finders
- Add helper for mocking requests
- Groups "token submission" specs into a describe block
- Removes some unnecessary
nextTick
calls
Related to #417912 (closed)
Screenshots or screen recordings
No visual changes
How to set up and validate locally
$ yarn jest new_deploy_token
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Ezekiel Kigbo