Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a jest for
SwitchToHistoryLink
that tests current history case
For the current history, we show a title saying "This is your current history", therefore, a mock is added here for `historyStore.currentHistoryId` to always return `current-history-id` regardless of which history you mount. This is done so that we can test the case when the history is current, and not.
- Loading branch information