diff options
Diffstat (limited to 'test/react/Accordion.spec.js')
-rw-r--r-- | test/react/Accordion.spec.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/react/Accordion.spec.js b/test/react/Accordion.spec.js new file mode 100644 index 0000000..614dcdd --- /dev/null +++ b/test/react/Accordion.spec.js @@ -0,0 +1,11 @@ +import React from 'react'; +import Accordion from '../../src/react/Accordion.js'; + +import renderer from 'react-test-renderer'; + +describe('Accordion', () => { + test('Accordion - Default', () => { + const accordion = renderer.create(<Accordion title='Accordion'>Accordion body</Accordion>).toJSON(); + expect(accordion).toMatchSnapshot(); + }); +});
\ No newline at end of file |