style: run prettier formatter over src and tests

This commit is contained in:
2026-06-11 20:46:00 +05:30
parent 2389d4f297
commit 6b564a4569
211 changed files with 6134 additions and 4234 deletions
+4 -5
View File
@@ -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 });