UNPKG

misc-utils-of-mine-generic

Version:

Miscellaneous utilities for JavaScript/TypeScript that I often use

9 lines (8 loc) 252 B
import { styleObjectToCss } from '../html' describe('string/html', () => { it('styleObjectToCss', () => { expect(styleObjectToCss({ fooBar: 'hello world', otherProp: '3 a B' })).toBe( `foo-bar: hello world;other-prop: 3 a B;` ) }) })