Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fyu committed Jun 10, 2018
1 parent 6b803f1 commit a547910
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
app/js/thirdparty/**
app/src/js/thirdparty/**
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install:
script:
- pycodestyle --show-source .
- eslint .
- go build -i -o $GOPATH/bin/sat ./app/golang
- go build -i -o $GOPATH/bin/sat ./server
- cp travis_config.yml config.yml
- go test ./... --travis --config ../../config.yml
- npm test
3 changes: 1 addition & 2 deletions app/src/js/__test__/serialization.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// const SatLabel = require('../sat');
import SatLabel from '../sat'
const SatLabel = require('../sat');

let parent = {id: 0, valid: true};
let child1 = {id: 2, valid: true};
Expand Down
2 changes: 0 additions & 2 deletions app/src/js/sat.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,5 +660,3 @@ SatLabel.prototype.finishChange = function() {
SatLabel.prototype.redraw = function() {

};

export {SatLabel};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"jest": {
"roots": [
"app/js"
"app/src/js"
]
},
"devDependencies": {
Expand Down

0 comments on commit a547910

Please sign in to comment.