Fix camel case (#220)
This commit is contained in:
committed by
Jaco Greeff
parent
5fa5906482
commit
b73ca86982
@@ -0,0 +1,13 @@
|
||||
// Copyright 2017-2018 @polkadot/util authors & contributors
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the ISC license. See the LICENSE file for details.
|
||||
|
||||
import { stringCamelCase } from './index';
|
||||
|
||||
describe('stringCamelCase', () => {
|
||||
it("works correctly", () => {
|
||||
expect(
|
||||
stringCamelCase('Snake_case')
|
||||
).toBe('snakeCase');
|
||||
});
|
||||
});
|
||||
@@ -2,6 +2,6 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the ISC license. See the LICENSE file for details.
|
||||
|
||||
import * as stringCamelCase from 'camelcase';
|
||||
import stringCamelCase from 'camelcase';
|
||||
|
||||
export default stringCamelCase;
|
||||
|
||||
Reference in New Issue
Block a user