Enable coverage for Jest (#5442)
This commit is contained in:
		
					parent
					
						
							
								e7099d8d9e
							
						
					
				
			
			
				commit
				
					
						402da46ff6
					
				
			
		
					 2 changed files with 9 additions and 1 deletions
				
			
		|  | @ -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', | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue