Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Makes sure Tooltip is SSR compatible #66
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed Feb 20, 2018
1 parent c9ac79d commit 8f8ab68
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 8f8ab68

Please sign in to comment.