Skip to content

Commit

Permalink
(test): add nyc test coverage reporting NOT WORKING see #6
Browse files Browse the repository at this point in the history
- also output source map files for nyc to use
  - (deps): add exorcist to browserify for this

- FIXME: currently bugging out:
  - browserify is not reading source maps or build folder at all?
  - webpack is reading source maps, but isn't excluding physi.js files
  • Loading branch information
agilgur5 committed Nov 26, 2019
1 parent 713f6a9 commit 798ffce
Show file tree
Hide file tree
Showing 6 changed files with 638 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build/
.nyc_output/

### Node ###

Expand Down
10 changes: 10 additions & 0 deletions nyc.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
exclude: [
// no physijs code
'./physi.js',
'./physijs_worker.js',
// no tests or test helpers
'*.spec.js',
'test-utils/**'
]
}
Loading

0 comments on commit 798ffce

Please sign in to comment.