in src/utils/testing.tsx [131:141]
function readRule(rule: CSSStyleRule, dest: ComputedStyles) {
if (matchesSafe(div, rule.selectorText)) {
const {style} = rule
for (let i = 0; i < style.length; i++) {
const prop = style[i]
dest[prop] = style.getPropertyValue(prop)
}
} else {
// console.warn('no match:', rule.selectorText)
}
}