: 250, height: 150, expectedPropValues: {fontSize: '10px'}},
    ];
    for (const {width, height, expectedPropValues} of configs) {
      const style = `width: ${width}px; height: ${height}px;`;
      a.style = style;
      await doubleRaf();
      const computed = getComputedStyle(document.querySelector('h1'));
      for (const [prop, expectedValue] of Object.entries(expectedPropValues)) {
        assert(
          computed[prop] === expectedValue,
          `Expected ${prop} to be ${expectedValue}, got $