()
| 708 | |
| 709 | describe('archive / trash round-trips', () => { |
| 710 | async function makeVaultWithNestedNote(): Promise<{ root: string }> { |
| 711 | const root = await makeTempDir('zennotes-folder-moves-') |
| 712 | await ensureVaultLayout(root) |
| 713 | await mkdir(path.join(root, 'inbox', 'demo'), { recursive: true }) |
| 714 | await writeFile(path.join(root, 'inbox', 'demo', 'Tables.md'), '# Tables\n', 'utf8') |
| 715 | return { root } |
| 716 | } |
| 717 | |
| 718 | it('archives a nested note into the matching archive subfolder', async () => { |
| 719 | const { root } = await makeVaultWithNestedNote() |
no test coverage detected