import * as React from 'react';
import { render } from 'react-testing-library';
import { Consumer, Provider } from './AccordionContext';

describe('ItemContext', () => {
    it('renders children props', () => {
        const { getByText } = render(
            <Provider>
                <Consumer>{(): string => 'Hello World'}</Consumer>
            </Provider>,
        );

        expect(getByText('Hello World')).toBeTruthy();
    });
});

Add unit tests for AccordionContext
Add unit tests for AccordionContext
