Add state for navigation
Currently selected navigation item is available under the navigation variable so that the whole application has access to it.
This commit is contained in:
parent
c9b324c68b
commit
d14eed9965
10 changed files with 154 additions and 45 deletions
|
|
@ -12,6 +12,6 @@ describe('EntrySelector', () => {
|
|||
var entrySelector = TestUtils.renderIntoDocument(
|
||||
<EntrySelector id="entry-selector" className="left inline fill-height" />
|
||||
)
|
||||
expect(entrySelector.state.entries.length).toEqual(0)
|
||||
expect(entrySelector.state.notes.length).toEqual(0)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue