.toMatchInlineSnapshot(propertyMatchers, inlineSnapshot)

Ensures that a value matches the most recent snapshot. Unlike .toMatchSnapshot(), the snapshots will be written to the current source file, inline.

Check out the section on Inline Snapshots for more info.