facebook / jest
Files Coverage
e2e/babel-plugin-jest-hoist/__test_modules__/Mocked.js 0.00%
e2e/babel-plugin-jest-hoist/__test_modules__/Unmocked.js 100.00%
e2e/babel-plugin-jest-hoist/__test_modules__/a.js 100.00%
e2e/babel-plugin-jest-hoist/__test_modules__/b.js 100.00%
e2e/babel-plugin-jest-hoist/__test_modules__/c.js 100.00%
e2e/babel-plugin-jest-hoist/__test_modules__/d.js 100.00%
e2e/babel-plugin-jest-hoist/__test_modules__/e.js 100.00%
e2e/babel-plugin-jest-hoist/mockFile.js 100.00%
e2e/coverage-handlebars/greet.hbs 75.00%
e2e/coverage-remapping/covered.ts 100.00%
e2e/coverage-report/cached-duplicates/a/identical.js 100.00%
e2e/coverage-report/cached-duplicates/b/identical.js 100.00%
e2e/coverage-report/file.js 100.00%
e2e/coverage-report/notRequiredInTestSuite.js 0.00%
e2e/coverage-report/otherFile.js 100.00%
e2e/coverage-report/sum.js 100.00%
e2e/coverage-report/sumDependency.js 0.00%
e2e/coverage-transform-instrumented/covered.js 100.00%
e2e/json-reporter/sum.js 100.00%
e2e/pnp/lib/index.js 100.00%
e2e/pnp/undeclared-dependency/index.js 50.00%
e2e/stack-trace-source-maps-with-coverage/lib.ts 100.00%
e2e/transform/babel-jest/this-directory-is-covered/covered.js 80.00%
e2e/transform/transformer-config/this-directory-is-covered/Covered.js 80.00%
e2e/typescript-coverage/covered.ts 100.00%
e2e/v8-coverage/empty-sourcemap/types.ts 100.00%
e2e/v8-coverage/no-sourcemap/Thing.js 100.00%
e2e/v8-coverage/no-sourcemap/x.css 100.00%
packages/babel-jest/src/index.ts 72.97%
packages/babel-plugin-jest-hoist/src/index.ts 85.48%
packages/babel-preset-jest/index.js 100.00%
packages/diff-sequences/src/index.ts 100.00%
packages/expect/src/asymmetricMatchers.ts 83.33%
packages/expect/src/extractExpectedAssertionsErrors.ts 10.53%
packages/expect/src/index.ts 91.89%
packages/expect/src/jasmineUtils.ts 96.03%
packages/expect/src/jestMatchersObject.ts 83.33%
packages/expect/src/matchers.ts 97.87%
packages/expect/src/print.ts 97.96%
packages/expect/src/spyMatchers.ts 88.91%
packages/expect/src/toThrowMatchers.ts 93.57%
packages/expect/src/utils.ts 96.13%
packages/jest-changed-files/src/git.ts 0.00%
packages/jest-changed-files/src/hg.ts 0.00%
packages/jest-changed-files/src/index.ts 0.00%
packages/jest-circus/runner.js 100.00%
packages/jest-circus/src/eventHandler.ts 9.92%
packages/jest-circus/src/formatNodeAssertErrors.ts 12.16%
packages/jest-circus/src/globalErrorHandlers.ts 15.79%
packages/jest-circus/src/index.ts 70.67%
packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapter.ts 0.00%
packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapterInit.ts 0.00%
packages/jest-circus/src/legacy-code-todo-rewrite/jestExpect.ts 0.00%
packages/jest-circus/src/run.ts 6.02%
packages/jest-circus/src/state.ts 78.95%
packages/jest-circus/src/testCaseReportHandler.ts 0.00%
packages/jest-circus/src/types.ts 100.00%
packages/jest-circus/src/utils.ts 12.08%
packages/jest-cli/src/init/errors.ts 50.00%
packages/jest-cli/src/init/generateConfigFile.ts 96.97%
packages/jest-cli/src/init/index.ts 87.50%
packages/jest-cli/src/init/modifyPackageJson.ts 100.00%
packages/jest-cli/src/init/questions.ts 100.00%
packages/jest-config/src/Defaults.ts 100.00%
packages/jest-config/src/Deprecated.ts 71.43%
packages/jest-config/src/Descriptions.ts 100.00%
packages/jest-config/src/ReporterValidationErrors.ts 9.52%
packages/jest-config/src/ValidConfig.ts 100.00%
packages/jest-config/src/color.ts 100.00%
packages/jest-config/src/constants.ts 100.00%
packages/jest-config/src/getCacheDirectory.ts 83.33%
packages/jest-config/src/getMaxWorkers.ts 100.00%
packages/jest-config/src/index.ts 18.99%
packages/jest-config/src/normalize.ts 89.10%
packages/jest-config/src/readConfigFileAndSetRootDir.ts 2.94%
packages/jest-config/src/resolveConfigPath.ts 96.55%
packages/jest-config/src/setFromArgv.ts 88.57%
packages/jest-config/src/utils.ts 69.57%
packages/jest-config/src/validatePattern.ts 100.00%
packages/jest-console/src/BufferedConsole.ts 75.32%
packages/jest-console/src/CustomConsole.ts 81.69%
packages/jest-console/src/NullConsole.ts 0.00%
packages/jest-console/src/getConsoleOutput.ts 65.22%
packages/jest-core/src/FailedTestsCache.ts 93.75%
packages/jest-core/src/FailedTestsInteractiveMode.ts 33.71%
packages/jest-core/src/ReporterDispatcher.ts 81.58%
packages/jest-core/src/SearchSource.ts 80.85%
packages/jest-core/src/SnapshotInteractiveMode.ts 97.09%
packages/jest-core/src/TestNamePatternPrompt.ts 47.83%
packages/jest-core/src/TestPathPatternPrompt.ts 50.00%
packages/jest-core/src/TestScheduler.ts 80.87%
packages/jest-core/src/TestWatcher.ts 54.55%
packages/jest-core/src/collectHandles.ts 70.15%
packages/jest-core/src/getChangedFilesPromise.ts 64.29%
packages/jest-core/src/getConfigsOfProjectsToRun.ts 0.00%
packages/jest-core/src/getNoTestFound.ts 62.50%
packages/jest-core/src/getNoTestFoundFailed.ts 50.00%
packages/jest-core/src/getNoTestFoundPassWithNoTests.ts 100.00%
packages/jest-core/src/getNoTestFoundRelatedToChangedFiles.ts 54.55%
packages/jest-core/src/getNoTestFoundVerbose.ts 19.23%
packages/jest-core/src/getNoTestsFoundMessage.ts 100.00%
packages/jest-core/src/getProjectDisplayName.ts 0.00%
packages/jest-core/src/getProjectNamesMissingWarning.ts 0.00%
packages/jest-core/src/getSelectProjectsMessage.ts 0.00%
packages/jest-core/src/lib/activeFiltersMessage.ts 100.00%
packages/jest-core/src/lib/createContext.ts 100.00%
packages/jest-core/src/lib/handleDeprecationWarnings.ts 0.00%
packages/jest-core/src/lib/isValidPath.ts 100.00%
packages/jest-core/src/lib/logDebugMessages.ts 100.00%
packages/jest-core/src/lib/updateGlobalConfig.ts 94.55%
packages/jest-core/src/lib/watchPluginsHelpers.ts 96.00%
packages/jest-core/src/plugins/FailedTestsInteractive.ts 83.78%
packages/jest-core/src/plugins/Quit.ts 50.00%
packages/jest-core/src/plugins/TestNamePattern.ts 100.00%
packages/jest-core/src/plugins/TestPathPattern.ts 100.00%
packages/jest-core/src/plugins/UpdateSnapshots.ts 100.00%
packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts 56.76%
packages/jest-core/src/pluralize.ts 100.00%
packages/jest-core/src/runGlobalHook.ts 34.62%
packages/jest-core/src/runJest.ts 68.42%
packages/jest-core/src/testSchedulerHelper.ts 100.00%
packages/jest-core/src/version.ts 0.00%
packages/jest-core/src/watch.ts 86.43%
packages/jest-create-cache-key-function/src/index.ts 78.57%
packages/jest-diff/src/cleanupSemantic.ts 88.10%
packages/jest-diff/src/constants.ts 100.00%
packages/jest-diff/src/diffLines.ts 100.00%
packages/jest-diff/src/diffStrings.ts 95.00%
packages/jest-diff/src/getAlignedDiffs.ts 100.00%
packages/jest-diff/src/index.ts 88.73%
packages/jest-diff/src/joinAlignedDiffs.ts 100.00%
packages/jest-diff/src/normalizeDiffOptions.ts 100.00%
packages/jest-diff/src/printDiffs.ts 100.00%
packages/jest-docblock/src/index.ts 98.36%
packages/jest-each/src/bind.ts 100.00%
packages/jest-each/src/index.ts 100.00%
packages/jest-each/src/table/array.ts 100.00%
packages/jest-each/src/table/interpolation.ts 100.00%
packages/jest-each/src/table/template.ts 100.00%
packages/jest-each/src/validation.ts 100.00%
packages/jest-environment-jsdom/src/index.ts 39.62%
packages/jest-environment-node/src/index.ts 64.58%
packages/jest-fake-timers/src/legacyFakeTimers.ts 94.87%
packages/jest-fake-timers/src/modernFakeTimers.ts 85.96%
packages/jest-get-type/src/index.ts 96.88%
packages/jest-globals/src/index.ts 100.00%
packages/jest-haste-map/src/HasteFS.ts 55.32%
packages/jest-haste-map/src/ModuleMap.ts 60.49%
packages/jest-haste-map/src/blacklist.ts 100.00%
packages/jest-haste-map/src/constants.ts 100.00%
packages/jest-haste-map/src/crawlers/node.ts 94.17%
packages/jest-haste-map/src/crawlers/watchman.ts 94.78%
packages/jest-haste-map/src/getMockName.ts 100.00%
packages/jest-haste-map/src/index.ts 87.93%
packages/jest-haste-map/src/lib/dependencyExtractor.ts 96.43%
packages/jest-haste-map/src/lib/fast_path.ts 100.00%
packages/jest-haste-map/src/lib/getPlatformExtension.ts 100.00%
packages/jest-haste-map/src/lib/isRegExpSupported.ts 100.00%
packages/jest-haste-map/src/lib/normalizePathSep.ts 100.00%
packages/jest-haste-map/src/watchers/FSEventsWatcher.ts 10.45%
packages/jest-haste-map/src/watchers/NodeWatcher.js 7.91%
packages/jest-haste-map/src/watchers/RecrawlWarning.js 10.71%
packages/jest-haste-map/src/watchers/WatchmanWatcher.js 9.65%
packages/jest-haste-map/src/watchers/common.js 33.33%
packages/jest-haste-map/src/worker.ts 95.65%
packages/jest-jasmine2/src/PCancelable.ts 35.48%
packages/jest-jasmine2/src/assertionErrorMessage.ts 0.00%
packages/jest-jasmine2/src/each.ts 0.00%
packages/jest-jasmine2/src/errorOnPrivate.ts 0.00%
packages/jest-jasmine2/src/expectationResultFactory.ts 96.97%
packages/jest-jasmine2/src/index.ts 0.00%
packages/jest-jasmine2/src/isError.ts 0.00%
packages/jest-jasmine2/src/jasmine/CallTracker.ts 0.00%
packages/jest-jasmine2/src/jasmine/Env.ts 0.00%
packages/jest-jasmine2/src/jasmine/JsApiReporter.ts 0.00%
packages/jest-jasmine2/src/jasmine/ReportDispatcher.ts 0.00%
packages/jest-jasmine2/src/jasmine/Spec.ts 0.00%
packages/jest-jasmine2/src/jasmine/SpyStrategy.ts 0.00%
packages/jest-jasmine2/src/jasmine/Suite.ts 32.10%
packages/jest-jasmine2/src/jasmine/Timer.ts 0.00%
packages/jest-jasmine2/src/jasmine/createSpy.ts 0.00%
packages/jest-jasmine2/src/jasmine/jasmineLight.ts 0.00%
packages/jest-jasmine2/src/jasmine/spyRegistry.ts 0.00%
packages/jest-jasmine2/src/jasmineAsyncInstall.ts 0.00%
packages/jest-jasmine2/src/jestExpect.ts 0.00%
packages/jest-jasmine2/src/pTimeout.ts 100.00%
packages/jest-jasmine2/src/queueRunner.ts 100.00%
packages/jest-jasmine2/src/reporter.ts 69.64%
packages/jest-jasmine2/src/setup_jest_globals.ts 0.00%
packages/jest-jasmine2/src/treeProcessor.ts 0.00%
packages/jest-leak-detector/src/index.ts 86.96%
packages/jest-matcher-utils/src/Replaceable.ts 100.00%
packages/jest-matcher-utils/src/deepCyclicCopyReplaceable.ts 100.00%
packages/jest-matcher-utils/src/index.ts 92.76%
packages/jest-message-util/src/index.ts 85.96%
packages/jest-mock/src/index.ts 84.99%
packages/jest-phabricator/src/index.ts 0.00%
packages/jest-regex-util/src/index.ts 63.64%
packages/jest-reporters/src/BaseReporter.ts 53.85%
packages/jest-reporters/src/CoverageReporter.ts 60.54%
packages/jest-reporters/src/CoverageWorker.ts 62.50%
packages/jest-reporters/src/DefaultReporter.ts 90.48%
packages/jest-reporters/src/NotifyReporter.ts 84.29%
packages/jest-reporters/src/Status.ts 84.27%
packages/jest-reporters/src/SummaryReporter.ts 65.93%
packages/jest-reporters/src/VerboseReporter.ts 19.18%
packages/jest-reporters/src/generateEmptyCoverage.ts 84.62%
packages/jest-reporters/src/getResultHeader.ts 82.14%
packages/jest-reporters/src/getSnapshotStatus.ts 100.00%
packages/jest-reporters/src/getSnapshotSummary.ts 89.74%
packages/jest-reporters/src/getWatermarks.ts 100.00%
packages/jest-reporters/src/index.ts 0.00%
packages/jest-reporters/src/utils.ts 81.05%
packages/jest-resolve-dependencies/src/index.ts 100.00%
packages/jest-resolve/src/ModuleNotFoundError.ts 0.00%
packages/jest-resolve/src/defaultResolver.ts 88.68%
packages/jest-resolve/src/isBuiltinModule.ts 62.50%
packages/jest-resolve/src/nodeModulesPaths.ts 92.59%
packages/jest-resolve/src/resolver.ts 55.83%
packages/jest-resolve/src/shouldLoadAsEsm.ts 8.70%
packages/jest-resolve/src/utils.ts 24.32%
packages/jest-runner/src/index.ts 63.22%
packages/jest-runner/src/runTest.ts 3.48%
packages/jest-runner/src/testWorker.ts 0.00%
packages/jest-runtime/src/helpers.ts 96.55%
packages/jest-runtime/src/index.ts 58.77%
packages/jest-serializer/src/index.ts 100.00%
packages/jest-snapshot/src/InlineSnapshots.ts 90.79%
packages/jest-snapshot/src/SnapshotResolver.ts 97.44%
packages/jest-snapshot/src/State.ts 0.00%
packages/jest-snapshot/src/colors.ts 100.00%
packages/jest-snapshot/src/dedentLines.ts 100.00%
packages/jest-snapshot/src/index.ts 78.62%
packages/jest-snapshot/src/mockSerializer.ts 100.00%
packages/jest-snapshot/src/plugins.ts 80.00%
packages/jest-snapshot/src/printSnapshot.ts 100.00%
packages/jest-snapshot/src/utils.ts 98.99%
packages/jest-source-map/src/getCallsite.ts 100.00%
packages/jest-test-result/src/formatTestResults.ts 68.00%
packages/jest-test-result/src/helpers.ts 0.00%
packages/jest-test-sequencer/src/index.ts 100.00%
packages/jest-transform/src/ScriptTransformer.ts 79.10%
packages/jest-transform/src/enhanceUnexpectedTokenMessage.ts 50.00%
packages/jest-transform/src/shouldInstrument.ts 89.80%
packages/jest-util/src/ErrorWithStack.ts 87.50%
packages/jest-util/src/clearLine.ts 0.00%
packages/jest-util/src/convertDescriptorToString.ts 0.00%
packages/jest-util/src/createDirectory.ts 0.00%
packages/jest-util/src/createProcessObject.ts 83.64%
packages/jest-util/src/deepCyclicCopy.ts 100.00%
packages/jest-util/src/formatTime.ts 100.00%
packages/jest-util/src/globsToMatcher.ts 100.00%
packages/jest-util/src/installCommonGlobals.ts 100.00%
packages/jest-util/src/interopRequireDefault.ts 0.00%
packages/jest-util/src/isInteractive.ts 100.00%
packages/jest-util/src/isPromise.ts 100.00%
packages/jest-util/src/pluralize.ts 0.00%
packages/jest-util/src/preRunMessage.ts 0.00%
packages/jest-util/src/replacePathSepForGlob.ts 100.00%
packages/jest-util/src/requireOrImportModule.ts 0.00%
packages/jest-util/src/setGlobal.ts 0.00%
packages/jest-util/src/specialChars.ts 0.00%
packages/jest-util/src/testPathPatternToRegExp.ts 0.00%
packages/jest-util/src/tryRealpath.ts 0.00%
packages/jest-validate/src/condition.ts 100.00%
packages/jest-validate/src/defaultConfig.ts 100.00%
packages/jest-validate/src/deprecated.ts 90.00%
packages/jest-validate/src/errors.ts 100.00%
packages/jest-validate/src/exampleConfig.ts 16.67%
packages/jest-validate/src/utils.ts 96.43%
packages/jest-validate/src/validate.ts 87.27%
packages/jest-validate/src/validateCLIOptions.ts 76.09%
packages/jest-validate/src/warnings.ts 100.00%
packages/jest-watcher/src/BaseWatchPlugin.ts 0.00%
packages/jest-watcher/src/JestHooks.ts 0.00%
packages/jest-watcher/src/PatternPrompt.ts 0.00%
packages/jest-watcher/src/constants.ts 100.00%
packages/jest-watcher/src/lib/Prompt.ts 73.91%
packages/jest-watcher/src/lib/colorize.ts 100.00%
packages/jest-watcher/src/lib/formatTestNameByPattern.ts 90.00%
packages/jest-watcher/src/lib/patternModeHelpers.ts 0.00%
packages/jest-watcher/src/lib/scroll.ts 100.00%
packages/jest-worker/src/Farm.ts 98.73%
packages/jest-worker/src/FifoQueue.ts 100.00%
packages/jest-worker/src/PriorityQueue.ts 100.00%
packages/jest-worker/src/WorkerPool.ts 91.67%
packages/jest-worker/src/__performance_tests__/test.js 0.00%
packages/jest-worker/src/__performance_tests__/workers/jest_worker.js 0.00%
packages/jest-worker/src/__performance_tests__/workers/pi.js 0.00%
packages/jest-worker/src/__performance_tests__/workers/worker_farm.js 0.00%
packages/jest-worker/src/base/BaseWorkerPool.ts 100.00%
packages/jest-worker/src/index.ts 100.00%
packages/jest-worker/src/types.ts 100.00%
packages/jest-worker/src/workers/ChildProcessWorker.ts 94.17%
packages/jest-worker/src/workers/NodeThreadsWorker.ts 93.62%
packages/jest-worker/src/workers/messageParent.ts 38.46%
packages/jest-worker/src/workers/processChild.ts 94.12%
packages/jest-worker/src/workers/threadChild.ts 91.18%
packages/pretty-format/src/collections.ts 100.00%
packages/pretty-format/src/index.ts 97.44%
packages/pretty-format/src/plugins/AsymmetricMatcher.ts 96.77%
packages/pretty-format/src/plugins/ConvertAnsi.ts 67.35%
packages/pretty-format/src/plugins/DOMCollection.ts 100.00%
packages/pretty-format/src/plugins/DOMElement.ts 100.00%
packages/pretty-format/src/plugins/Immutable.ts 98.59%
packages/pretty-format/src/plugins/ReactElement.ts 100.00%
packages/pretty-format/src/plugins/ReactTestComponent.ts 90.91%
packages/pretty-format/src/plugins/lib/escapeHTML.ts 100.00%
packages/pretty-format/src/plugins/lib/markup.ts 100.00%
packages/test-utils/src/ConditionalTest.ts 0.00%
packages/test-utils/src/alignedAnsiStyleSerializer.ts 0.00%
packages/test-utils/src/config.ts 0.00%
Project Totals (312 files) 69.01%
Loading