Files
superset2/superset/assets/spec/javascripts/sqllab/CopyQueryTabUrl_spec.jsx
Chris Williams b453cd2bf2 [lint] turn no-undef back on, set browser, cypress, and mocha env's (#5879)
* [lint] turn no-undef back on, set browser, cypress, and mocha env's, and fix issues

* [lint] fix undefined var in TimeTable.jsx
2018-09-13 14:45:24 -07:00

17 lines
446 B
JavaScript

import React from 'react';
import { expect } from 'chai';
import { initialState } from './fixtures';
import CopyQueryTabUrl from '../../../src/SqlLab/components/CopyQueryTabUrl';
describe('CopyQueryTabUrl', () => {
const mockedProps = {
queryEditor: initialState.sqlLab.queryEditors[0],
};
it('is valid with props', () => {
expect(
React.isValidElement(<CopyQueryTabUrl {...mockedProps} />),
).to.equal(true);
});
});