🧹 Remove unnecessary whitespace in BaseModal unit tests
This commit is contained in:
@@ -363,7 +363,7 @@ describe('BaseModal', () => {
|
||||
// Wait for watch to execute
|
||||
await nextTick();
|
||||
await nextTick();
|
||||
|
||||
|
||||
// Check if overflow was set (may be timing-dependent in tests)
|
||||
const wasHidden = document.body.style.overflow === 'hidden';
|
||||
|
||||
@@ -477,12 +477,12 @@ describe('BaseModal', () => {
|
||||
|
||||
await nextTick();
|
||||
await nextTick();
|
||||
|
||||
|
||||
// Check if overflow was set (may be timing-dependent in tests)
|
||||
const wasHidden = document.body.style.overflow === 'hidden';
|
||||
|
||||
wrapper.unmount();
|
||||
|
||||
|
||||
// Verify cleanup happened - body overflow should be restored
|
||||
expect(document.body.style.overflow).toBe('');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user