mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Replace the first-run placeholder seed with an onboarding canvas
This commit is contained in:
@@ -159,16 +159,6 @@ describe('SnippetLibrary metadata panel (spec §02)', () => {
|
||||
expect(container.textContent).toContain('No snippets match your search');
|
||||
});
|
||||
|
||||
test('shows the empty-library state when there are no snippets', () => {
|
||||
useSnippetStore.getState().hydrate([], null);
|
||||
|
||||
act(() => {
|
||||
root.render(<SnippetLibrary />);
|
||||
});
|
||||
|
||||
expect(container.textContent).toContain('No snippets yet');
|
||||
});
|
||||
|
||||
test('Duplicate adds an independent copy and makes it active', async () => {
|
||||
const s = createSnippet({ id: 'a', name: 'Chart', now: new Date('2026-01-01T00:00:00Z') });
|
||||
useSnippetStore.getState().hydrate([s], 'a');
|
||||
|
||||
Reference in New Issue
Block a user