The full project is available on GitHub.

**Jest **and **Enzyme **are increasingly popular tools that you can use to test UIs build with ag-Grid. In this post we show you how to set them up to test ag-Grid and test a panel of buttons that change the state of an ag-Grid instance. We’ll be demonstrating and comparing two different approaches to writing our tests - querying JSDOM and using ag-Grid’s API.

Below is a demo of the project we’ll be testing. The application is written in **React **and is available on GitHub.

#testing #jest #enzyme #ag-grid #jsdom #api

Testing ag-Grid with Jest and Enzyme - JSDOM vs ag-Grid API
13.70 GEEK