aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/test/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-03 04:29:14 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-03 04:29:14 +0800
commita64bee9f8375a5a21cdd070b253afc37c75c4338 (patch)
tree71cfb1067ee0f4eeeba0cd0a50b89aa176880c40 /packages/instant/test/components
parent2471e1034664c348cb9fa4646b306f48c44572ec (diff)
downloaddexon-sol-tools-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar
dexon-sol-tools-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.gz
dexon-sol-tools-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.bz2
dexon-sol-tools-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.lz
dexon-sol-tools-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.xz
dexon-sol-tools-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.zst
dexon-sol-tools-a64bee9f8375a5a21cdd070b253afc37c75c4338.zip
Tests are working with coverage
Diffstat (limited to 'packages/instant/test/components')
-rw-r--r--packages/instant/test/components/zero_ex_instant.test.tsx13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/instant/test/components/zero_ex_instant.test.tsx b/packages/instant/test/components/zero_ex_instant.test.tsx
new file mode 100644
index 000000000..5858732cf
--- /dev/null
+++ b/packages/instant/test/components/zero_ex_instant.test.tsx
@@ -0,0 +1,13 @@
+import { configure, shallow } from 'enzyme';
+import * as Adapter from 'enzyme-adapter-react-16';
+import * as React from 'react';
+
+configure({ adapter: new Adapter() });
+
+import { ZeroExInstant } from '../../src';
+
+describe('<ZeroExInstant />', () => {
+ it('shallow renders without crashing', () => {
+ shallow(<ZeroExInstant />);
+ });
+});