import * as HeadlessUI from './index' /** * Looks a bit of a silly test, however this ensures that we don't accidentally expose something to * the outside world that we didn't want! */ it('should expose the correct components', () => { expect(Object.keys(HeadlessUI)).toEqual([ 'Portal', 'Combobox', 'Dialog', 'Disclosure', 'FocusTrap', 'Listbox', 'Menu', 'Popover', 'RadioGroup', 'Switch', 'Tab', 'Transition', ]) })