diff --git a/test/components/CurrencyIcon.spec.js b/test/components/CurrencyIcon.spec.js
new file mode 100644
index 00000000..dbee5b51
--- /dev/null
+++ b/test/components/CurrencyIcon.spec.js
@@ -0,0 +1,29 @@
+import React from 'react'
+import { shallow } from 'enzyme'
+import { FaDollar } from 'react-icons/lib/fa'
+import CryptoIcon from '../../app/components/CryptoIcon'
+import CurrencyIcon from '../../app/components/CurrencyIcon'
+
+const defaultProps = {
+ currency: '',
+ crypto: '',
+ styles: {}
+}
+
+describe('component.CurrencyIcon', () => {
+ describe('currency is "usd"', () => {
+ const props = { ...defaultProps, currency: 'usd' }
+ const el = shallow()
+ it('should show usd symbo', () => {
+ expect(el.find(FaDollar)).toHaveLength(1)
+ })
+ })
+
+ describe('currency is not "usd"', () => {
+ const props = { ...defaultProps, currency: 'btc' }
+ const el = shallow()
+ it('should show btc symbol', () => {
+ expect(el.find(CryptoIcon)).toHaveLength(1)
+ })
+ })
+})