mirror of
https://github.com/apache/superset.git
synced 2026-04-10 20:06:13 +00:00
* [lint] turn no-undef back on, set browser, cypress, and mocha env's, and fix issues * [lint] fix undefined var in TimeTable.jsx
13 lines
364 B
JavaScript
13 lines
364 B
JavaScript
import React from 'react';
|
|
import { shallow } from 'enzyme';
|
|
import { expect } from 'chai';
|
|
|
|
import HoverMenu from '../../../../../src/dashboard/components/menu/HoverMenu';
|
|
|
|
describe('HoverMenu', () => {
|
|
it('should render a div.hover-menu', () => {
|
|
const wrapper = shallow(<HoverMenu />);
|
|
expect(wrapper.find('.hover-menu')).to.have.length(1);
|
|
});
|
|
});
|