forked from linkong/planet
first commit
This commit is contained in:
commit
e7033775d8
20657 files changed
+1988940
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
var convert = require('../');
|
||||
|
||||
describe('string-convert', function () {
|
||||
it('convert.hyphen2camel should convert min-width to minWidth', function () {
|
||||
convert.hyphen2camel('min-width').should.equal('minWidth');
|
||||
});
|
||||
|
||||
it('convert.camel2hyphen should convert minWidth to min-width', function () {
|
||||
convert.camel2hyphen('minWidth').should.equal('min-width');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user