We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd726b0 commit 309ab56Copy full SHA for 309ab56
tests/SLDSTooltip/tooltip.test.jsx
@@ -0,0 +1,22 @@
1
+const React = require('react/addons');
2
+const TestUtils = React.addons.TestUtils;
3
+import {SLDSTooltip} from '../../components';
4
+
5
+describe('SLDSTooltip: ', function(){
6
7
+ const generateTooltip = function(tooltipInstance) {
8
+ let reactCmp = TestUtils.renderIntoDocument(tooltipInstance);
9
+ return React.findDOMNode(reactCmp);
10
+ };
11
12
+ describe('component renders', function() {
13
+ it('tooltip renders', function() {
14
+ let tooltip = generateTooltip(<SLDSTooltip />);
15
+ expect(tooltip).to.not.equal(undefined);
16
+ });
17
18
19
+ describe('component basic props render', function() {
20
21
22
+});
0 commit comments