Skip to content

Commit

Permalink
add comment about forcecast
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Jul 13, 2020
1 parent bbb97fc commit a98ab1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/public/application/scoped_history.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ const createMock = ({
},
};

// jest.Mocked still expects private methods and properties to be present, even
// if not part of the public contract.
return mock as ScopedHistoryMock;
};

Expand Down

0 comments on commit a98ab1e

Please sign in to comment.