From e4b131c78c061fbd173d8a835a822713e51011f5 Mon Sep 17 00:00:00 2001 From: Luca Perret Date: Wed, 9 Aug 2017 22:11:25 +0200 Subject: [PATCH] test(Utils): Add toCamelCase function test --- test/specs/utils.spec.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/specs/utils.spec.js diff --git a/test/specs/utils.spec.js b/test/specs/utils.spec.js new file mode 100644 index 0000000..ac219ce --- /dev/null +++ b/test/specs/utils.spec.js @@ -0,0 +1,7 @@ +import * as utils from 'src/utils' + +describe('Utils', () => { + test('Kebab to camel case', () => { + expect(utils.toCamelCase('kebab-case-string')).toBe('kebabCaseString') + }) +})