<!-- * Please fill out this template with all the relevant information so we can understand what's going on and fix the issue. We appreciate bugs filed and PRs submitted! * Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). We'll probably ask you to submit the fix (after giving some direction). If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request --> - `@testing-library/jest-dom` version: 6.1.5 - `node` version: 20.3.1 - `jest` (or `vitest`) version: 0.34.1 - `npm` (or `yarn`) version: 9.6.7 <!-- * `dom-testing-library` version: (if applicable) * `react-testing-library` version: (if applicable) --> ### Relevant code or config: ```js render(<div data-testid="element" style={{ fontSize: 8 }} />) expect(screen.getByTestId('element')).toHaveStyle({ fontSize: 1 }) ``` ### What you did: I expected the above assertion to fail ### What happened: The test passes instead!✅ ### Reproduction: <!-- If possible, please create a repository that reproduces the issue with the minimal amount of code possible. Or if you can, try to reproduce the issue in a Codesandbox. You can fork the one here: https://codesandbox.io/s/5z6x4r7n0p --> ### Problem description: the assertion is clearly incorrect and can easily cause bugs ### Suggested solution: I have not thought of a solution yet but would like to investigate this issue during my off hours.