Archived
fixed?
This commit is contained in:
1 parent
7693697990
commit
e3c2d1b295
142 files changed
-22252
No files matched your search
@@ -1,17 +0,0 @@
|
||||
'use babel';
|
||||
|
||||
import toCamelCase from '../../lib/helper/to-camel-case';
|
||||
|
||||
describe('camelCaseHelper', () => {
|
||||
it('should convert spaces to camelCase', () => {
|
||||
expect(toCamelCase('hello world')).toEqual('helloWorld');
|
||||
});
|
||||
|
||||
it('should convert lisp-case to camelCase', () => {
|
||||
expect(toCamelCase('hello-world')).toEqual('helloWorld');
|
||||
});
|
||||
|
||||
it('should convert snake_case to camelCase', () => {
|
||||
expect(toCamelCase('hello_world')).toEqual('helloWorld');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user