Guard against invalid removeChild by RobbieTheWagner · Pull Request #1707 · shipshapecode/tether

@RobbieTheWagner

@RobbieTheWagner

- Add expect.assertions(2) to ensure tests verify expected behavior
- Add assertion that tether.enabled is true after enable()
- Wrap destroy() calls in expect().not.toThrow() for proper error handling
- Fix whitespace and formatting for consistency

coderabbitai[bot]

coderabbitai[bot]