mirror of
https://github.com/directus/directus.git
synced 2026-02-18 20:54:28 -05:00
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:
@@ -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
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user