first commit

This commit is contained in:
2026-05-29 14:48:36 +08:00
parent 708d2c0d04
commit 0cc2c6bdf7
66471 changed files with 2561203 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
var should = require('should');
var hyphen2camel = require('../hyphen2camel');
describe('hyphen2camel', function () {
it('should convert min-width to minWidth', function () {
hyphen2camel('min-width').should.equal('minWidth');
});
it('should convert device-min-width to deviceMinWidth', function () {
hyphen2camel('device-min-width').should.equal('deviceMinWidth');
});
it('should convert -moz-transition to MozTransition', function () {
hyphen2camel('-moz-transition').should.equal('MozTransition');
});
});