-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or requestperformancePerformance of runtime analysis tools can be quite a nuisance.Performance of runtime analysis tools can be quite a nuisance.
Description
Usually, we use @babel/register for instrumentation (and thus caching). However, we cannot use @babel/register with Jest, so we need to add the corresponding settings to Jest's config instead.
- add proper
includesupport forJest- add to Jest's own transformer
- also wrap
JestCLI call in@babel/register - allow the two to be configured once, without copy+pasting?
- probably want to use
ENV
- probably want to use
- make
@babel/register/lib/node.js'sconfigFile: falseconfigurable- -> or, in case of
Jest, changebabel.config.jsto only add@dbux/babel-pluginif not already added- -> or change
@dbux/cli/src/buildBabelOptionsto not add it instead
- -> or change
- also, change Jest's
babel.config.js, s.t.@dbux/babel-pluginis not added ifDBUXis disabled - because else, the config file would add
@dbux/babel-plugina second time when read fromregister
- -> or, in case of
- add more finely grained config options for module path include/ignore to
moduleFilter- because we want to disable (not just packages, but) specific files, such as
jest-runner/build/requireOrImportModule.jsetc.
- because we want to disable (not just packages, but) specific files, such as
- add cache support for
Jest - generalize cache management
ProjectManager:getCacheRoot,getCacheFolder- add cache management for
Jest- also related to: improve dbux-projects webpack'ing #615
- test w/
javascript-algorithms
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestperformancePerformance of runtime analysis tools can be quite a nuisance.Performance of runtime analysis tools can be quite a nuisance.