mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 06:32:12 -03:00
feat: Implement cache busting for static assets, remove client-side version mismatch banner, and add project overview documentation.
This commit is contained in:
@@ -234,7 +234,6 @@ describe('AppCore initialization flow', () => {
|
||||
await vi.runAllTimersAsync();
|
||||
|
||||
expect(onboardingManager.start).toHaveBeenCalledTimes(1);
|
||||
expect(bannerService.isBannerVisible).toHaveBeenCalledWith('version-mismatch');
|
||||
});
|
||||
|
||||
it('does not reinitialize once initialized', async () => {
|
||||
@@ -262,13 +261,4 @@ describe('AppCore initialization flow', () => {
|
||||
expect(BulkContextMenu).not.toHaveBeenCalled();
|
||||
expect(bulkManager.setBulkContextMenu).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('suppresses onboarding when version mismatch banner is visible', async () => {
|
||||
bannerService.isBannerVisible.mockReturnValueOnce(true);
|
||||
|
||||
await appCore.initialize();
|
||||
await vi.runAllTimersAsync();
|
||||
|
||||
expect(onboardingManager.start).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user