mirror of
https://github.com/apache/superset.git
synced 2026-04-10 11:55:24 +00:00
* bumping the js libs * New linting rules * More linting * More * Done linting * npm >=4.5.0 * Bumping node * Tweaking the build * Fixing the damn build * Fixing the apps
18 lines
410 B
JavaScript
18 lines
410 B
JavaScript
import React from 'react';
|
|
import { expect } from 'chai';
|
|
import { describe, it } from 'mocha';
|
|
|
|
import CopyToClipboard from '../../../javascripts/components/CopyToClipboard';
|
|
|
|
describe('CopyToClipboard', () => {
|
|
const defaultProps = {
|
|
text: 'some text to copy',
|
|
};
|
|
|
|
it('renders', () => {
|
|
expect(
|
|
React.isValidElement(<CopyToClipboard {...defaultProps} />),
|
|
).to.equal(true);
|
|
});
|
|
});
|