Files
muzick/frontend/src/components/VibeAura.test.tsx
T
kami 092a43b981
Typecheck / typecheck (backend) (push) Has been cancelled
Typecheck / typecheck (workers) (push) Has been cancelled
feat(vibe): visualize the listening profile
2026-08-03 14:22:58 +04:00

13 lines
544 B
TypeScript

import { render, screen } from '@testing-library/react';
import { describe, expect, it } from 'vitest';
import { VibeAura } from './VibeAura';
describe('VibeAura', () => {
it('turns the live recommendation profile into an accessible ambient state', () => {
render(<VibeAura profile={{ energy: 0.82, noveltyHunger: 0.78 }} />);
expect(screen.getByRole('img', { name: 'Current Vibe: charged energy and adventurous discovery' })).toBeInTheDocument();
expect(screen.getByText('Your Vibe is charged')).toBeInTheDocument();
});
});