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

Commit

Permalink
Makes sure InputMatrix 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 5975ce0 commit dfc6ed2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/marble-input-matrix/test/InputMatrix.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 InputMatrix from '../src/InputMatrix';

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

0 comments on commit dfc6ed2

Please sign in to comment.