Skip to content

Commit

Permalink
Merge pull request #373 from konekoya/patch-1
Browse files Browse the repository at this point in the history
Fix grammar
  • Loading branch information
yesmeck authored Dec 1, 2017
2 parents 18cff37 + edebcce commit 49aad59
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/Slider.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Slider', () => {
expect(trackStyle.visibility).toMatch('visible');
});

it('increments the value when key "up" was pressed', () => {
it('increases the value when key "up" is pressed', () => {
const wrapper = mount(<Slider defaultValue={50} />);
const handler = wrapper.find('.rc-slider-handle').at(1);

Expand All @@ -32,7 +32,7 @@ describe('Slider', () => {
expect(wrapper.state('value')).toBe(51);
});

it('increments the value when key "right" was pressed', () => {
it('increases the value when key "right" is pressed', () => {
const wrapper = mount(<Slider defaultValue={50} />);
const handler = wrapper.find('.rc-slider-handle').at(1);

Expand All @@ -42,7 +42,7 @@ describe('Slider', () => {
expect(wrapper.state('value')).toBe(51);
});

it('increases the value when key "page up" was pressed, by a factor 2', () => {
it('increases the value when key "page up" is pressed, by a factor 2', () => {
const wrapper = mount(<Slider defaultValue={50} />);
const handler = wrapper.find('.rc-slider-handle').at(1);

Expand All @@ -52,7 +52,7 @@ describe('Slider', () => {
expect(wrapper.state('value')).toBe(52);
});

it('decreases the value when key "down" was pressed', () => {
it('decreases the value when key "down" is pressed', () => {
const wrapper = mount(<Slider defaultValue={50} />);
const handler = wrapper.find('.rc-slider-handle').at(1);

Expand All @@ -62,7 +62,7 @@ describe('Slider', () => {
expect(wrapper.state('value')).toBe(49);
});

it('decreases the value when key "left" was pressed', () => {
it('decreases the value when key "left" is pressed', () => {
const wrapper = mount(<Slider defaultValue={50} />);
const handler = wrapper.find('.rc-slider-handle').at(1);

Expand All @@ -72,7 +72,7 @@ describe('Slider', () => {
expect(wrapper.state('value')).toBe(49);
});

it('decreases the value when key "page down" was pressed, by a factor 2', () => {
it('decreases the value when key "page down" is pressed, by a factor 2', () => {
const wrapper = mount(<Slider defaultValue={50} />);
const handler = wrapper.find('.rc-slider-handle').at(1);

Expand All @@ -82,7 +82,7 @@ describe('Slider', () => {
expect(wrapper.state('value')).toBe(48);
});

it('sets the value to minimum when key "home" was pressed', () => {
it('sets the value to minimum when key "home" is pressed', () => {
const wrapper = mount(<Slider defaultValue={50} />);
const handler = wrapper.find('.rc-slider-handle').at(1);

Expand All @@ -92,7 +92,7 @@ describe('Slider', () => {
expect(wrapper.state('value')).toBe(0);
});

it('sets the value to maximum when the key "end" was pressed', () => {
it('sets the value to maximum when the key "end" is pressed', () => {
const wrapper = mount(<Slider defaultValue={50} />);
const handler = wrapper.find('.rc-slider-handle').at(1);

Expand Down

0 comments on commit 49aad59

Please sign in to comment.