feat(swarm): add server file system utility for archetypes
This commit is contained in:
parent
84737f8905
commit
05b8c20637
2 changed files with 24 additions and 0 deletions
9
tests/server/beads-fs.test.ts
Normal file
9
tests/server/beads-fs.test.ts
Normal 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);
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue