Import the relevant libraries – redux-deep-diff library uses deep-diff to create diffs and clone-deep to clone the state when traveling through history to prevent mutations; the ngrx-store-freeze library uses deep-freeze to recursively freeze the state.
This is a failing test when part of the state contains a non-pojo. A limitation of deep-clone returns a reference and revertChange attempts to mutate the target.