Skip to content

Commit

Permalink
Makes sure Tooltip is SSR compatible LiferayCloud#66
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha authored and justLuiz committed Oct 9, 2019
1 parent ed995b8 commit 748616a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/marble-tooltip/test/Tooltip.node.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* @jest-environment node
*/

import Component from 'metal-component';
import Tooltip from '../src/Tooltip';

describe('Tooltip.node', () => {
it('should not fail on the server side', () => {
const tooltip = Component.renderToString(Tooltip);
expect(tooltip).not.toBeNull();
});
});

0 comments on commit 748616a

Please sign in to comment.