Use shallowMount and .toHaveLength() for tests
What does this MR do?
This MR addresses the comments left by the maintainer in this MR: !29437 (merged)
It uses shallowMount
instead of mount
and changes all usages of .length
to .toHaveLength()
.