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

Commit

Permalink
Check travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gautiselvaraj committed Feb 7, 2018
1 parent cfc52df commit bb21ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Shorten from '../';

describe('<Shorten />', () => {
const testChildren =
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare finibus turpis, vel venenatis felis dignissim eu. In sed mattis eros, sit amet pulvinar velit. Donec vehicula metus ac libero condimentum, eget mollis enim ullamcorper.';
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare finibus turpis, vel venenatis felis dignissi eu. In sed mattis eros, sit amet pulvinar velit. Donec vehicula metus ac libero condimentum, eget mollis enim ullamcorper.';
const testChildrenSmall =
'Lorem ipsum dolor sit amet, consectetur adipiscing elit.';

Expand Down Expand Up @@ -89,7 +89,7 @@ describe('<Shorten />', () => {
);
const wrapper = mount(<Shorten>{testChildren}</Shorten>);
expect(wrapper.text()).toBe(
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare finibus turpis, vel venenatis felis dignissim eu. In sed mattis eros, sit amet pulvinar velit. more...'
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare finibus turpis, vel venenatis felis dignissi eu. In sed mattis eros, sit amet pulvinar velit. more...'
);
console.log(
'************************************************************'
Expand Down

0 comments on commit bb21ac5

Please sign in to comment.