JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 729
  • Score
    100M100P100Q95489F
  • License MIT

Package Exports

  • @rbxts-js/jest-config
  • @rbxts-js/jest-config/src/init.lua

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rbxts-js/jest-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

jest-config

Upstream: https://github.com/facebook/jest/tree/v27.4.7/packages/jest-config


✏️ Notes

  • since Lua projects don't store external modules in node_modules directory testPathIgnorePatterns will not include this directory by default
  • running tests concurrently is not supported at the moment

Todo

  • support for globalSetup and globalTeardown options
  • support for coverageReporters option

API deviation

  • projects option needs to receive a list of Instance objects
  • rootDir options needs to receive an Instance

Unsupported global config options

  • changedFilesWithAncestor
  • collectCoverage
  • collectCoverageFrom
  • collectCoverageOnlyFrom
  • coverageDirectory
  • coveragePathIgnorePatterns
  • coverageProvider
  • coverageReporters
  • coverageThreshold
  • detectLeaks
  • detectOpenHandles
  • findRelatedTests
  • forceExit
  • globalTeardown
  • lastCommit
  • logHeapUsage
  • noSCM
  • notifyMode
  • onlyChanged
  • onlyFailures
  • replname
  • reporters
  • snapshotFormat
  • errorOnDeprecated
  • testResultsProcessor
  • testSequencer
  • useStderr
  • watch
  • watchAll
  • watchman
  • watchPlugins

Unsupported global config options

  • cache
  • cacheDirectory
  • coveragePathIgnorePatterns
  • cwd
  • dependencyExtractor
  • detectLeaks
  • detectOpenHandles
  • errorOnDeprecated
  • extensionsToTreatAsEsm
  • extraGlobals
  • forceCoverageMatch
  • globalSetup
  • globalTeardown
  • globals
  • haste
  • moduleDirectories
  • moduleFileExtensions
  • moduleLoader
  • moduleNameMapper
  • modulePathIgnorePatterns
  • modulePaths
  • prettierPath
  • resolver
  • setupFiles
  • setupFilesAfterEnv
  • skipNodeResolution
  • snapshotResolver
  • snapshotFormat
  • testRunner
  • testURL
  • transform
  • transformIgnorePatterns
  • watchPathIgnorePatterns
  • unmockedModulePathPatterns

Unsupported CLI options

  • cache
  • cacheDirectory
  • changedFilesWithAncestor
  • collectCoverage
  • collectCoverageFrom
  • collectCoverageOnlyFrom
  • coverageDirectory
  • coveragePathIgnorePatterns
  • coverageReporters
  • coverageThreshold
  • findRelatedTests
  • forceExit
  • globalSetup
  • globalTeardown
  • haste
  • lastCommit
  • logHeapUsage
  • moduleFileExtensions
  • moduleNameMapper
  • modulePathIgnorePatterns
  • modulePaths
  • notifyMode
  • onlyChanged
  • onlyFailures
  • prettierPath
  • resolver
  • setupFiles
  • setupFilesAfterEnv
  • testResultsProcessor
  • testRunner
  • testSequencer
  • testURL
  • transform
  • transformIgnorePatterns
  • unmockedModulePathPatterns
  • useStderr
  • watch
  • watchAll
  • watchman
  • watchPathIgnorePatterns