mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
style: run prettier formatter over src and tests
This commit is contained in:
@@ -49,10 +49,7 @@ describe('useFileStore', () => {
|
||||
it('openFolder calls ipc.file.list and sets tree with root node and mapped children', async () => {
|
||||
fakeList.mockResolvedValue({
|
||||
ok: true,
|
||||
data: [
|
||||
fakeFileEntry('README.md', false),
|
||||
fakeFileEntry('src', true),
|
||||
],
|
||||
data: [fakeFileEntry('README.md', false), fakeFileEntry('src', true)],
|
||||
});
|
||||
|
||||
await useFileStore.getState().openFolder('/root');
|
||||
@@ -139,7 +136,9 @@ describe('useFileStore', () => {
|
||||
path: '/root',
|
||||
isDirectory: true,
|
||||
loaded: true,
|
||||
children: [{ name: 'src', path: '/root/src', isDirectory: true, children: null, loaded: true }],
|
||||
children: [
|
||||
{ name: 'src', path: '/root/src', isDirectory: true, children: null, loaded: true },
|
||||
],
|
||||
};
|
||||
useFileStore.setState({ tree });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user