Test files linted
This commit is contained in:
@ -8,7 +8,9 @@ test('Converts a string from camelcase', () => {
|
||||
expect(fromCamelCase('someDatabaseFieldName', ' ')).toBe('some database field name');
|
||||
});
|
||||
test('Converts a string from camelcase', () => {
|
||||
expect(fromCamelCase('someLabelThatNeedsToBeCamelized', '-')).toBe('some-label-that-needs-to-be-camelized');
|
||||
expect(fromCamelCase('someLabelThatNeedsToBeCamelized', '-')).toBe(
|
||||
'some-label-that-needs-to-be-camelized'
|
||||
);
|
||||
});
|
||||
test('Converts a string from camelcase', () => {
|
||||
expect(fromCamelCase('someJavascriptProperty', '_')).toBe('some_javascript_property');
|
||||
|
||||
Reference in New Issue
Block a user