Add hydration, collection store, collections module navigation (#125)

* Add hydration functions and logout route

* Add tests for hydration

* Add collections nav

* Structure collections module, add overview route

* Fix failing tests

* Add test for use-navigation

* Add tests for collections-navigation

* Add tests for collections-overview

* Fix export for use-navigation composition

* Update tests
This commit is contained in:
Rijk van Zanten
2020-02-28 16:21:51 -05:00
committed by GitHub
parent 3a76455776
commit 28531b531b
27 changed files with 702 additions and 108 deletions

View File

@@ -164,7 +164,9 @@ describe('API', () => {
}
});
} catch {
expect(auth.logout).toHaveBeenCalledWith(auth.LogoutReason.ERROR_SESSION_EXPIRED);
expect(auth.logout).toHaveBeenCalledWith({
reason: auth.LogoutReason.ERROR_SESSION_EXPIRED
});
}
});