13 lines
544 B
TypeScript
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();
|
|
});
|
|
});
|