|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`TaxonomySwitcher rendering render TaxonomySwitcher 1`] = `
|
|
<Nav
|
|
bsClass="nav"
|
|
className="navbar-iconic"
|
|
justified={false}
|
|
navbar={true}
|
|
pullLeft={true}
|
|
pullRight={false}
|
|
stacked={false}
|
|
>
|
|
<TaxonomyDropdown
|
|
anyTaxonomyText="Any Organization"
|
|
anyTaxonomyURL="/organizations/clear"
|
|
changeTaxonomy={[Function]}
|
|
currentTaxonomy="organization"
|
|
id="organization-dropdown"
|
|
manageTaxonomyText="Manage Organizations"
|
|
manageTaxonomyURL="/organizations"
|
|
taxonomies={
|
|
Array [
|
|
Object {
|
|
"href": "/organizations/1-org1/select",
|
|
"id": 1,
|
|
"title": "org1",
|
|
},
|
|
Object {
|
|
"href": "/organizations/2-org2/select",
|
|
"id": 2,
|
|
"title": "org2",
|
|
},
|
|
]
|
|
}
|
|
taxonomyType="Organization"
|
|
/>
|
|
<TaxonomyDropdown
|
|
anyTaxonomyText="Any Location"
|
|
anyTaxonomyURL="/locations/clear"
|
|
changeTaxonomy={[Function]}
|
|
currentTaxonomy="location"
|
|
id="location-dropdown"
|
|
manageTaxonomyText="Manage Locations"
|
|
manageTaxonomyURL="/locations"
|
|
taxonomies={
|
|
Array [
|
|
Object {
|
|
"href": "/locations/1-yaml/select",
|
|
"id": 1,
|
|
"title": "yaml",
|
|
},
|
|
Object {
|
|
"href": "/locations/2-london/select",
|
|
"id": 2,
|
|
"title": "london",
|
|
},
|
|
Object {
|
|
"href": "/locations/3-norway/select",
|
|
"id": 3,
|
|
"title": "norway",
|
|
},
|
|
]
|
|
}
|
|
taxonomyType="Location"
|
|
/>
|
|
<NavItem
|
|
activeHref=""
|
|
activeKey=""
|
|
className=""
|
|
id="vertical-spinner"
|
|
>
|
|
<Spinner
|
|
className=""
|
|
inline={false}
|
|
inverse={true}
|
|
loading={true}
|
|
size="md"
|
|
/>
|
|
</NavItem>
|
|
</Nav>
|
|
`;
|