Unverified Commit b85ab5a8 authored by tetedacier's avatar tetedacier Committed by GitHub
Browse files

Include missing cjs and mjs files from collectCoverageFrom

Those file are transformed and usable in node and webpack. Their transpiled javascript will be included in production build, so we need to be able to see how they are covered inside nyc output.
1 merge request!11674Include missing cjs and mjs files from collectCoverageFrom
Showing with 1 addition and 1 deletion
+1 -1
......@@ -25,7 +25,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
const config = {
roots: ['<rootDir>/src'],
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}', '!src/**/*.d.ts'],
collectCoverageFrom: ['src/**/*.{js,jsx,mjs,cjs,ts,tsx}', '!src/**/*.d.ts'],
setupFiles: [
isEjecting
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment