import { render, screen } from '@testing-library/react' import { EncryptedBottom } from '..' describe('EncryptedBottom', () => { it('applies custom class names', () => { const { container } = render() expect(container.firstChild).toHaveClass('custom-class') }) it('passes keys', async () => { render() expect(await screen.findByText(/provider.encrypted.front/i)).toBeInTheDocument() expect(await screen.findByText(/provider.encrypted.back/i)).toBeInTheDocument() }) })