Tests: drop change-detector component tests

This commit is contained in:
2026-06-25 01:08:56 +03:00
parent 2dce270ac7
commit c6ca988e40
7 changed files with 0 additions and 219 deletions
-13
View File
@@ -51,19 +51,6 @@ function click(name: string) {
}
describe('Onboarding', () => {
test('greets the user and offers the primary create action', () => {
expect(container.textContent).toContain('Welcome to Astrolabe');
expect(container.textContent).toContain('Create your first snippet');
});
test('renders one card per example, each with an Add control', () => {
for (const example of CHART_EXAMPLES) {
expect(container.textContent).toContain(example.name);
expect(container.textContent).toContain(example.description);
expect(container.querySelector(`button[aria-label="Add ${example.name}"]`)).not.toBeNull();
}
});
test('"Create your first snippet" creates one snippet from the sample template', () => {
click('Create your first snippet');
const { snippets, activeSnippetId } = useSnippetStore.getState();