Skip to content

Commit

Permalink
test(usage-statistics): add render test
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzeroglu authored and barmac committed Jun 25, 2020
1 parent 174c0e2 commit b57f460
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

/* global sinon */

import React from 'react';

import { shallow } from 'enzyme';

import UsageStatistics from '../UsageStatistics';
import BaseEventHandler from '../event-handlers/BaseEventHandler';

Expand All @@ -30,7 +34,7 @@ describe('<UsageStatistics>', () => {

it('should render', () => {

createUsageStatistics();
shallow(<UsageStatistics subscribe={ () => {} } />);
});


Expand Down

0 comments on commit b57f460

Please sign in to comment.