diff --git a/src/App.test.jsx b/src/App.test.jsx index 4c1eeab..c18da1c 100644 --- a/src/App.test.jsx +++ b/src/App.test.jsx @@ -322,7 +322,9 @@ describe('Greek word lookup', () => { fireEvent.click(screen.getByRole('button', { name: /look up greek/i })); await screen.findByDisplayValue('πίστις'); expect(screen.getByDisplayValue('pistis')).toBeInTheDocument(); - expect(screen.getByDisplayValue('faith, belief')).toBeInTheDocument(); + // With no gloss-map entry, the English gloss falls back to the KJV + // definition, so it matches the Short Definition field. + expect(screen.getAllByDisplayValue('faith, belief')).toHaveLength(2); }); test('shows "No definition found." when the API returns an empty array', async () => {