mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
feat: complete master feature parity with interactive PDF editing, Reveal.js export dialog, Large File Mode, and scoped CSS
This commit is contained in:
@@ -7,10 +7,8 @@ import { useAppStore } from '@/stores/app-store';
|
||||
describe('AboutDialog', () => {
|
||||
beforeEach(() => {
|
||||
window.electronAPI = {
|
||||
app: {
|
||||
getVersion: vi.fn().mockResolvedValue('5.0.0'),
|
||||
openExternal: vi.fn().mockResolvedValue({ ok: true }),
|
||||
},
|
||||
getAppVersion: vi.fn().mockResolvedValue('5.0.0'),
|
||||
send: vi.fn().mockResolvedValue({ ok: true }),
|
||||
} as any;
|
||||
// Reset store to about modal so dialog renders
|
||||
useAppStore.setState({ modal: { kind: 'about' } } as any);
|
||||
|
||||
Reference in New Issue
Block a user