import React from 'react';
import { render } from '@testing-library/react-native';
import { Desktop, Text } from '../..';
describe('', () => {
it('should render children in "screen"', () => {
const { getByTestId } = render(
Desktop content
,
);
expect(getByTestId('desktopScreen')).toHaveTextContent('Desktop content');
});
it('should render custom styles', () => {
const style = { backgroundColor: 'teal' };
const { getByTestId } = render();
expect(getByTestId('card')).toHaveStyle(style);
});
it('should render custom screenStyles', () => {
const style = { backgroundColor: 'teal' };
const { getByTestId } = render();
expect(getByTestId('desktopScreen')).toHaveStyle(style);
});
});