Skip to content

Commit d2f02dd

Browse files
authored
Merge pull request #57 from tonyito/master
Travis CI integration
2 parents 92c5f10 + c0a3762 commit d2f02dd

File tree

5 files changed

+4
-200
lines changed

5 files changed

+4
-200
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
language: node_js
22
node_js:
3-
- "8"
4-
- "10"
3+
- 10
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`Test the App Component Matches snapshot 1`] = `ShallowWrapper {}`;

src/components/__tests__/__snapshots__/MainContainer.test.tsx.snap

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

src/containers/MainContainer.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,6 @@ const mapStateToProps = (store: { workspace: ApplicationStateInt }) => ({
102102
});
103103

104104
class MainContainer extends Component<MainContPropsInt, StateInt> {
105-
//Again, state should not be created outside of the single source of truth
106-
//Actually upon further examination, it looks like this state isn't manipulated at all.
107-
// state = {
108-
// draggable: false,
109-
// toggleClass: true,
110-
// scaleX: 1,
111-
// scaleY: 1,
112-
// x: 0,
113-
// y: 0,
114-
// modal: ''
115-
// };
116105

117106
render() {
118107
//const { draggable, modal } = this.state; //this is being destructured but never read.

0 commit comments

Comments
 (0)