Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
style: 💄 run prettier
  • Loading branch information
streamich committed Aug 18, 2025
commit 0906b7a41cf60b8380aeb92566940f827e4bfe7f
6 changes: 3 additions & 3 deletions src/crud/__tests__/matryoshka.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ onlyOnNode20('CRUD matryoshka', () => {
expect(await fs.promises.readFile('/file1.txt', 'utf8')).toBe('a.c');

const fsa = new NodeFileSystemDirectoryHandle(fs, '/', { mode: 'readwrite' });
const file2 = await fsa.getFileHandle('file2.txt', {create: true});
const writable1 = await file2.createWritable({keepExistingData: false});
const file2 = await fsa.getFileHandle('file2.txt', { create: true });
const writable1 = await file2.createWritable({ keepExistingData: false });
await writable1.write('abc');
await writable1.close();
const writable2 = await file2.createWritable({keepExistingData: true});
const writable2 = await file2.createWritable({ keepExistingData: true });
await writable2.write({
type: 'write',
data: Buffer.from('.'),
Expand Down
Loading