Skip to content

Commit

Permalink
feat: initial test harness using jest and babel-jest (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
timkurvers authored May 25, 2020
1 parent 8290732 commit 0933e14
Show file tree
Hide file tree
Showing 6 changed files with 8,201 additions and 3,564 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/coverage/
/node_modules/
/public/*
!/public/Shaders
Expand Down
14 changes: 14 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
collectCoverageFrom: [
'src/**/*.mjs',
],
coverageDirectory: './coverage/',
moduleFileExtensions: ['js', 'mjs'],
testMatch: [
'**/spec/**/*.spec.mjs',
],
transform: {
'^.+\\.mjs$': 'babel-jest',
},
verbose: true,
};
Loading

0 comments on commit 0933e14

Please sign in to comment.