Improve sprite icon spec
What does this MR do?
Improve sprite icon spec by
- Moving
spriteIcon
describe block out ofajaxPost
describe block - Use imported
spriteIcon
rather than usinggl.utils.spriteIcon
- Cache gon before overriding it so that we can revert to original state and not pollute other tests
Are there points in the code the reviewer needs to double check?
Shouldn't be
Why was this MR needed?
~"technical debt"
Screenshots (if relevant)
None
Does this MR meet the acceptance criteria?
- Review
-
Has been reviewed by Frontend
-