feat(swarm): add server file system utility for archetypes

This commit is contained in:
zenchantlive 2026-02-20 17:07:49 -08:00
parent 84737f8905
commit 05b8c20637
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,9 @@
import { expect, test, describe } from 'bun:test';
import { getArchetypes } from '../../src/lib/server/beads-fs';
describe('beads-fs', () => {
test('getArchetypes returns array of archetypes', async () => {
const archetypes = await getArchetypes();
expect(Array.isArray(archetypes)).toBe(true);
});
});