Question: I have two visuals in the report stacked on top of each other
by default, both of the visuals occupy 50% of the space.
I want functionality like 2 buttons to focus on each visual.

Now, when I click on the 1st button it should make the 1st visual 3 times the size of the 2nd visual. Similarly, when I click on the 2nd button it should make the 2nd visual 3 times the size of the 1st visual.

How to achieve this in Power BI. Thanks in Advance.

Answer: 
I was having the same issue, and it was caused by calling `toBe()` or `toEqual()` on an HTMLElement. So your most likely culprit is here, since `getByTestId` returns an HTMLElement:

`expect(getByTestId('dateRange')).toBe(dateRange);`

I fixed my issue by testing against the element's text content instead.

`expect(getByTestId('dateRange')).toHaveTextContent('...');`
Hi I had the same issue after spending some time googling around i found this: [github issues forum](https://github.com/facebook/jest/issues/10577)

it turned out that this issue is caused by node12 version i downgraded my one to version 10 and everything worked i have also upgraded to version 14 and that also works.

check what is yours node version in ur terminal:

1. node -v if (version 12) upgrade it!
2. nvm install v14.8.0 (something like this or the leates one)
3. nvm use v14.8.0 (or any other version you may wish to install that is above 12)

hopefully this helps