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

Commit

Permalink
Makes sure Toast is SSR compatible #66
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed Feb 16, 2018
1 parent b6c814a commit eca20d1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/marble-toast/test/Toast.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 Toast from '../src/Toast';

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

0 comments on commit eca20d1

Please sign in to comment.