Skip to content

Commit

Permalink
Fix jest test matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
RawToast committed Sep 28, 2019
1 parent 5c45314 commit 79606c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions dokusho/bsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,5 @@
"reason": {
"react-jsx": 2
},
"bsc-flags": [
"-bs-super-errors"
],
"refmt": 3
}
8 changes: 4 additions & 4 deletions dokusho/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"watch-html": "parcel src/index.html",
"watch-reason": "bsb -make-world -w",
"bsb": "bsb -make-world",
"test": "jest --env=jsdom --testMatch='**/test/*test.{bs.js}' --watch",
"coverage": "jest --env=node --testMatch='**/test/*test.{bs.js}' --coverage",
"ci": "yarn bsb && jest --env=jsdom --testMatch='**/test/*test.{bs.js}' --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test": "jest --env=jsdom --testMatch='**/test/*test.bs.js' --watch",
"coverage": "jest --env=node --testMatch='**/test/*test.bs.js' --coverage",
"ci": "yarn bsb && jest --env=jsdom --testMatch='**/test/*test.bs.js' --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"toolbox": "react-toolbox-themr"
},
"dependencies": {
Expand All @@ -37,7 +37,7 @@
},
"jest": {
"collectCoverageFrom": [
"src/app/*.{bs.js}"
"**/app/*.bs.js"
]
}
}

0 comments on commit 79606c2

Please sign in to comment.