module.exports = {
  roots: ['<rootDir>/app/src/', '<rootDir>/app/test/'],
  transform: {
    '^.+\\.tsx?$': 'ts-jest',
  },
  testMatch: ['**/unit/**/*-test.ts'],
  moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
  setupFiles: [
    '<rootDir>/app/test/globals.ts',
    '<rootDir>/app/test/unit-test-env.ts',
  ],
  setupTestFrameworkScriptFile: '<rootDir>/app/test/setup-test-framework.ts',
  collectCoverageFrom: [
    '**/*.{js,jsx,ts,tsx}',
    '!**/node_modules/**',
    '!**/vendor/**',
    '!**/*.d.*',
  ],
  globals: {
    'ts-jest': {
      useBabelrc: true,
    },
  },
}

@@ -522,16 +522,330 @@
 *.d.*',%0A
+    // skip coverage of test scripts%0A    '!app/test/**/*',%0A    // ignore scripts%0A    '!script/**/*',%0A    // not focused on testing these areas currently%0A    '!app/src/ask-pass/**/*',%0A    '!app/src/cli/**/*',%0A    '!app/src/crash/**/*',%0A    '!app/src/highlighter/**/*',%0A    // ignore index files%0A    '!**/index.ts',%0A
   %5D,%0A  g

add some folders to be ignored by code coverage