🧹 Remove unnecessary whitespace in BaseModal unit tests

This commit is contained in:
2026-01-28 22:25:42 +00:00
parent fa8286fa54
commit 35e9a97708

View File

@@ -363,7 +363,7 @@ describe('BaseModal', () => {
// Wait for watch to execute // Wait for watch to execute
await nextTick(); await nextTick();
await nextTick(); await nextTick();
// Check if overflow was set (may be timing-dependent in tests) // Check if overflow was set (may be timing-dependent in tests)
const wasHidden = document.body.style.overflow === 'hidden'; const wasHidden = document.body.style.overflow === 'hidden';
@@ -477,12 +477,12 @@ describe('BaseModal', () => {
await nextTick(); await nextTick();
await nextTick(); await nextTick();
// Check if overflow was set (may be timing-dependent in tests) // Check if overflow was set (may be timing-dependent in tests)
const wasHidden = document.body.style.overflow === 'hidden'; const wasHidden = document.body.style.overflow === 'hidden';
wrapper.unmount(); wrapper.unmount();
// Verify cleanup happened - body overflow should be restored // Verify cleanup happened - body overflow should be restored
expect(document.body.style.overflow).toBe(''); expect(document.body.style.overflow).toBe('');
}); });