From 829998568f4e8a44971a9fe7e46a76ec9316cc81 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Mon, 18 Feb 2019 16:09:52 -0700 Subject: fixed folder structure --- mobile/components/__tests__/StyledText-test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mobile/components/__tests__/StyledText-test.js (limited to 'mobile/components/__tests__') diff --git a/mobile/components/__tests__/StyledText-test.js b/mobile/components/__tests__/StyledText-test.js new file mode 100644 index 0000000..04453f8 --- /dev/null +++ b/mobile/components/__tests__/StyledText-test.js @@ -0,0 +1,10 @@ +import 'react-native'; +import React from 'react'; +import { MonoText } from '../StyledText'; +import renderer from 'react-test-renderer'; + +it('renders correctly', () => { + const tree = renderer.create(Snapshot test!).toJSON(); + + expect(tree).toMatchSnapshot(); +}); -- cgit v1.2.3