multimediaobject
Version:
Multimediaobject library
12 lines (11 loc) • 473 B
JavaScript
describe('toDashed', () => {
it('should return background-color for input backgroundColor', () => {
expect(toDashed('backgroundColor')).toEqual('background-color');
});
it('should return background-color-plus for input backgroundColorPlus', () => {
expect(toDashed('backgroundColorPlus')).toEqual('background-color-plus');
});
it('should return background for input background', () => {
expect(toDashed('background')).toEqual('background');
});
});