Testing with Enzyme (hooks)
This example repro shows how hook-based grid can be tested using Enzyme, Jest & React.
Note that in this case, we use have to try wrap the App component within a forwardRef and expose the API with useImperitiveHandle.
Testing with Ezyme (components)
We have built an example for implementing Jest testing with React alongside ag-Grid.
Please find this example in a Github repository here:
In the example package, see the example tests that are set up here:
An example using our latest version can be found here: