-
Hugo NOUTS authoredHugo NOUTS authored
sidebar.sp_ec.js 388 B
'use strict'
/* eslint-env jest */
import React from 'react'
import { shallow } from 'enzyme'
import { mockT } from '../lib/I18n'
import Navbar from 'components/_ToBeRemoved/Navbar/Navbar'
describe('Navbar component', () => {
it('should be rendered correctly', () => {
const component = shallow(<Navbar t={mockT} />).getElement()
expect(component).toMatchSnapshot()
})
})