]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
test: remove uneeded comment
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 4 Jun 2026 17:21:06 +0000 (19:21 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 4 Jun 2026 17:21:06 +0000 (19:21 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/tests/unit/skins/modern/SimulatorBar.test.ts

index f627e617f850485d394f432525116b7ec2e4beda..f1b77037f516b3094ad5b6df680c787afaeb0b9e 100644 (file)
@@ -10,12 +10,6 @@ import SimulatorBar from '@/skins/modern/components/SimulatorBar.vue'
 
 import { createUIServerConfig } from '../../constants.js'
 
-// Mock useTheme/useSkin to avoid post-teardown console.warn from
-// validateTokenContract() (scheduled via requestAnimationFrame) and from
-// the floating switchSkin() Promise. Vitest 4.x rejects pending RPC at
-// teardown ("Closing rpc while \"onUserConsoleLog\" was pending"), and
-// jsdom does not resolve --color-* CSS variables so the contract check
-// would log ~24 warnings per <select> change.
 const switchThemeMock = vi.fn()
 const switchSkinMock = vi.fn().mockResolvedValue(true)