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

Commit

Permalink
Makes sure ReadingProgress 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 4f4e5f6 commit af5f690
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/marble-reading-progress/test/ReadingProgress.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 ReadingProgress from '../src/ReadingProgress';

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

0 comments on commit af5f690

Please sign in to comment.