aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/helpers/tests/common.util.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/helpers/tests/common.util.test.js')
-rw-r--r--ui/app/helpers/tests/common.util.test.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/ui/app/helpers/tests/common.util.test.js b/ui/app/helpers/tests/common.util.test.js
deleted file mode 100644
index a52b91a10..000000000
--- a/ui/app/helpers/tests/common.util.test.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import * as utils from '../common.util'
-import assert from 'assert'
-
-describe('Common utils', () => {
- describe('camelCaseToCapitalize', () => {
- it('should return a capitalized string from a camel-cased string', () => {
- const tests = [
- {
- test: undefined,
- expected: '',
- },
- {
- test: '',
- expected: '',
- },
- {
- test: 'thisIsATest',
- expected: 'This Is A Test',
- },
- ]
-
- tests.forEach(({ test, expected }) => {
- assert.equal(utils.camelCaseToCapitalize(test), expected)
- })
- })
- })
-})