@roo-ui/components
Version:
18 lines (14 loc) • 559 B
JavaScript
import React from 'react';
import { qantas as theme } from '@roo-ui/themes';
import { shallowWithTheme } from '@roo-ui/test-utils';
import { CalendarWeekday, CalendarWeekdays } from '.';
describe('<CalendarWeekdays />', () => {
it('renders correctly', () => {
expect(shallowWithTheme(<CalendarWeekdays>Weekday</CalendarWeekdays>, theme)).toMatchSnapshot();
});
});
describe('<CalendarWeekday />', () => {
it('renders correctly', () => {
expect(shallowWithTheme(<CalendarWeekday>Tuesday</CalendarWeekday>, theme)).toMatchSnapshot();
});
});