aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/hex-to-decimal/tests/hex-to-decimal.component.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/hex-to-decimal/tests/hex-to-decimal.component.test.js')
-rw-r--r--ui/app/components/hex-to-decimal/tests/hex-to-decimal.component.test.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/ui/app/components/hex-to-decimal/tests/hex-to-decimal.component.test.js b/ui/app/components/hex-to-decimal/tests/hex-to-decimal.component.test.js
deleted file mode 100644
index c98da9ad4..000000000
--- a/ui/app/components/hex-to-decimal/tests/hex-to-decimal.component.test.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react'
-import assert from 'assert'
-import { shallow } from 'enzyme'
-import HexToDecimal from '../hex-to-decimal.component'
-
-describe('HexToDecimal Component', () => {
- it('should render a prefixed hex as a decimal with a className', () => {
- const wrapper = shallow(<HexToDecimal
- value="0x3039"
- className="hex-to-decimal"
- />)
-
- assert.ok(wrapper.hasClass('hex-to-decimal'))
- assert.equal(wrapper.text(), '12345')
- })
-
- it('should render an unprefixed hex as a decimal with a className', () => {
- const wrapper = shallow(<HexToDecimal
- value="1A85"
- className="hex-to-decimal"
- />)
-
- assert.ok(wrapper.hasClass('hex-to-decimal'))
- assert.equal(wrapper.text(), '6789')
- })
-})