In this lesson, we’ll look at writing test assertions for react-intl output. We'll add the necessary dependencies, then we’ll use Jest
snapshots to get assertions written quickly. Then, we’ll use enzyme
API methods to traverse the DOM and write assertions about specific pieces of react-intl
data.
Note: This lesson uses a modified version of an "intl-enzyme" helper utility from the react-intl
documentation. You can find the modified file here.