diff options
author | Ivan Dolgov <ivan@dolgov.fi> | 2018-09-26 11:24:28 +0300 |
---|---|---|
committer | Ivan Dolgov <ivan@dolgov.fi> | 2018-09-26 11:24:28 +0300 |
commit | a94cb197e91124b3b9b76dfde6599dc097e5a3c2 (patch) | |
tree | 176333ebef1b58b82cb4a17a3f7bd571455c4c7f /src/Root.test.js | |
parent | e2cf702d339d95600001f60993252b4d8054f6d6 (diff) | |
parent | 05b6b72104206468b50743026981e9d3c4974c61 (diff) | |
download | ickui-a94cb197e91124b3b9b76dfde6599dc097e5a3c2.tar.gz |
Merge branch 'ivan/setup'
Diffstat (limited to 'src/Root.test.js')
-rw-r--r-- | src/Root.test.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Root.test.js b/src/Root.test.js new file mode 100644 index 0000000..7f785a2 --- /dev/null +++ b/src/Root.test.js @@ -0,0 +1,13 @@ +import React from 'react'; +import { render } from 'react-testing-library'; +import 'jest-dom/extend-expect'; + +import Root from './Root'; + +describe('Root', () => { + test('greeting is shown', () => { + const { container } = render(<Root />); + + expect(container).toHaveTextContent('Hello, world!'); + }); +}); |