// import matchers from "expect/build/matchers"; // // I do not know why this is needed // matchers.customTesters = []; // expect.extend({ // toHaveStyle(received, style) { // const receivedStyle = received?.props?.style // ? Object.fromEntries(Object.entries(received?.props?.style)) // : undefined; // return matchers.toStrictEqual(receivedStyle, style); // }, // });