Clean mr_widget_options_spec from zombies
What does this MR do?
Please see this comment for context.
This spec file was accidentally overwriting the reference to an already created component, which caused it to never be properly disposed. This MR:
- Nests all of the current tests in a
describe('default')
so that we can move thecreateComponent
outside the top-levelbeforeEach
. - Moves the offending spec to their own
describe
context. - Installs the jasmine clock in the top-level
beforeEach
since this component kicks off polls on mount. There were actually a number of polls being created and never cleaned up😬