mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
test(renderer): remove non-existent html property from preview-store reset
This commit is contained in:
@@ -4,7 +4,7 @@ import { usePreviewStore } from '@/stores/preview-store';
|
||||
describe('usePreviewStore', () => {
|
||||
beforeEach(() => {
|
||||
vi.useFakeTimers();
|
||||
usePreviewStore.setState({ html: '', scrollRatio: 0, source: '' });
|
||||
usePreviewStore.setState({ scrollRatio: 0, source: '' });
|
||||
});
|
||||
|
||||
it('debounces source updates (300 ms)', () => {
|
||||
|
||||
Reference in New Issue
Block a user