feat(recipes): image upload, fix save 500, HelloFresh seed data #53
@@ -82,7 +82,7 @@
|
||||
data-type="neutral"
|
||||
style="display: inline-block; margin-top: 3px; font-size: 9px; font-weight: 500; padding: 1px 5px; border-radius: 3px; background: var(--yellow-tint); color: var(--yellow-text);"
|
||||
>
|
||||
= {delta.toFixed(1)} Punkte
|
||||
Kein Einfluss
|
||||
</span>
|
||||
{/if}
|
||||
{/snippet}
|
||||
|
||||
@@ -115,7 +115,7 @@ describe('RecipePicker', () => {
|
||||
const alleRezepte = screen.getByTestId('alle-rezepte-section');
|
||||
const badge = within(alleRezepte).getByTestId('badge-r1');
|
||||
expect(badge.getAttribute('data-type')).toBe('neutral');
|
||||
expect(badge.textContent).toContain('0.0');
|
||||
expect(badge.textContent).toContain('Kein Einfluss');
|
||||
});
|
||||
|
||||
it('Empfohlen shows only positive-delta suggestions, capped at 5', () => {
|
||||
|
||||
Reference in New Issue
Block a user