Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
asliayk committed Jan 21, 2025
1 parent 95ad030 commit 0453d9b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ describe('PostingsMarkdownEditor', () => {
getColumn: () => 5,
} as TextEditorPosition);
mockEditor.getLineText.mockReturnValue('- First line');
mockEditor.getTextAtRange.mockReturnValue('');

const replaceTextSpy = jest.spyOn(mockEditor, 'replaceTextAtRange');
bulletedListAction.run(mockEditor);
Expand Down

0 comments on commit 0453d9b

Please sign in to comment.