mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-07-07 19:30:41 +02:00
17 lines
551 B
JavaScript
17 lines
551 B
JavaScript
/* eslint-disable import/no-extraneous-dependencies */
|
|
import React from 'react';
|
|
import Adapter from 'enzyme-adapter-react-16';
|
|
import { expect } from 'chai';
|
|
import { describe, it } from 'mocha';
|
|
import { shallow, configure } from 'enzyme';
|
|
import FavouriteBar from './src';
|
|
|
|
configure({ adapter: new Adapter() });
|
|
|
|
describe('Testing @digitransit-component/digitransit-component-favourite-bar module', () => {
|
|
const wrapper = shallow(<FavouriteBar />);
|
|
|
|
it('should render', () => {
|
|
expect(wrapper.isEmptyRender()).to.equal(false);
|
|
});
|
|
});
|