diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2017-10-18 17:57:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-18 17:57:42 -0400 |
commit | c75665127878f41af2547b12b8723963c04d305b (patch) | |
tree | d8275432c259d0fcd1385c163d7f2472b4a8684c /jest.config.js | |
parent | 4421f6598f5883908fb25743977306f19a0b0f0f (diff) | |
parent | eb907a5babed83a73788b16772fb2cba6db8c2b4 (diff) |
Merge pull request #188 from glitch-soc/merge-upstream-2-0-0
Merge with upstream v2.0.0
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js index dd9dadf87..50bde57e6 100644 --- a/jest.config.js +++ b/jest.config.js @@ -14,4 +14,12 @@ module.exports = { 'raf/polyfill', ], setupTestFrameworkScriptFile: '<rootDir>/app/javascript/mastodon/test_setup.js', + collectCoverageFrom: [ + 'app/javascript/mastodon/**/*.js', + '!app/javascript/mastodon/features/emoji/emoji_compressed.js', + '!app/javascript/mastodon/locales/locale-data/*.js', + '!app/javascript/mastodon/service_worker/entry.js', + '!app/javascript/mastodon/test_setup.js', + ], + coverageDirectory: '<rootDir>/coverage', }; |