(cls: string)
| 2 | import { render } from '../../src/render'; |
| 3 | |
| 4 | export const css = (cls: string): string => { |
| 5 | return render(`<html class="${cls}">`, { StyleSheet }).css |
| 6 | } |
| 7 | |
| 8 | export const testCSS = (cls: string, expected: string): void => { |
| 9 | expect(css(cls)).toBe(expected) |