import * as React from 'react';
import { shallow } from 'enzyme';
import Navigation from './Navbar';
import { NavItem, NavLink } from 'reactstrap';
describe('Navbar should contain console Link', () => {
it('with non-empty consoleslink', () => {
const app = shallow();
expect(
app.contains(
Consoles
)
).toBeTruthy();
});
});
describe('Navbar should not contain consoles link', () => {
it('with empty string in consolesLink', () => {
const app = shallow();
expect(
app.contains(
Consoles
)
).toBeFalsy();
});
});