MCPcopy
hub / github.com/vercel/styled-jsx / assert

Function assert

test/styles.js:85–87  ·  view source on GitHub ↗
(input, expected, prefix = '')

Source from the content-addressed store, hash-verified

83
84test('splits rules for `optimizeForSpeed`', t => {
85 function assert(input, expected, prefix = '') {
86 t.deepEqual(transform(prefix, input, { splitRules: true }), expected)
87 }
88
89 assert('div { color: red }', ['div{color:red;}'])
90

Callers 1

styles.jsFile · 0.85

Calls 1

transformFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…