import React from 'react' import { render, screen } from '@testing-library/react' import { Distances, Proximity, ProximityDisplay } from './Proximity' describe('Proximity', () => { it('Should highlight FAR and have a title', () => { render() expect(screen.getByText('Pretty far from your place')).toBeInTheDocument() }) it('Should render proximity with text', () => { render( , ) expect(screen.getByText('Pretty close to your place')).toBeInTheDocument() }) })