Skip to content

Commit b9eca50

Browse files
authored
Merge pull request #10 from Proskynete/dev
Dev
2 parents 4920528 + db3949b commit b9eca50

File tree

19 files changed

+530
-10502
lines changed

19 files changed

+530
-10502
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ coverage/
44
yarn-error.log
55

66
npm-debug.log
7+
package-lock.json

.sass-lint.yml

Lines changed: 0 additions & 259 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ install:
77
- npm install
88

99
script:
10-
- npm run lint:sass
11-
- npm run lint:js
10+
- npm run lint
1211
- npm run test:coveralls
1312

1413
notifications:
15-
email: false
14+
email: false

__tests__/content-body.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ describe('Description Component', () => {
1111
it('should render with text prop and wihtout optional prop', () => {
1212
const wrapper = shallow(<ContentBody title="2018">Hello World</ContentBody>);
1313
expect(wrapper.children).to.be.a('function');
14-
expect(wrapper.find('.timeline__container__body__title').text()).to.be.equal('2018');
14+
expect(wrapper.find('.title-body-component').text()).to.be.equal('2018');
1515
});
1616
});

__tests__/content-year.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Enzyme.configure({ adapter: new Adapter() });
1010
describe('Description Component', () => {
1111
it('should render with text prop and wihtout optional prop', () => {
1212
const wrapper = shallow(<ContentYear year="hello" />);
13-
expect(wrapper.find('.timeline__container__year__item').text()).to.be.equal('hello');
13+
expect(wrapper.find('.item-year-component').text()).to.be.equal('hello');
1414
});
1515
});

__tests__/content.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ describe('Description Component', () => {
1111
it('should render with text prop and wihtout optional prop', () => {
1212
const wrapper = shallow(<Content>Hello World</Content>);
1313
expect(wrapper.children).to.be.a('function');
14-
expect(wrapper.find('.timeline__container').text()).to.be.equal('Hello World');
14+
expect(wrapper.find('.content-component').text()).to.be.equal('Hello World');
1515
});
1616
});

__tests__/description.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Enzyme.configure({ adapter: new Adapter() });
1010
describe('Description Component', () => {
1111
it('should render with text prop and wihtout optional prop', () => {
1212
const wrapper = shallow(<Description text="hello" />);
13-
expect(wrapper.find('.timeline__container__body__description__text').text()).to.be.equal('hello');
13+
expect(wrapper.find('.text-description-component').text()).to.be.equal('hello');
1414
});
1515

1616
it('should render with text prop and optional prop', () => {
1717
const wrapper = shallow(<Description text="hello" optional="world" />);
18-
expect(wrapper.find('.timeline__container__body__description__optional').text()).to.be.equal('world');
18+
expect(wrapper.find('.optional-description-component').text()).to.be.equal('world');
1919
});
2020
});

__tests__/timeline.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ describe('Timeline Component', () => {
1111
it('should render with children', () => {
1212
const wrapper = shallow(<Timeline>Hello</Timeline>);
1313
expect(wrapper.children).to.be.a('function');
14-
expect(wrapper.find('.timeline').text()).to.be.equal('Hello');
14+
expect(wrapper.find('.timeline-component').text()).to.be.equal('Hello');
1515
});
1616
});

0 commit comments

Comments
 (0)