File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
heft-plugins/heft-jest-plugin/src/patches Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
import * as path from 'path' ;
5
5
import { Import , FileSystem } from '@rushstack/node-core-library' ;
6
6
7
- // This patch is to disable cache reads/writes in Jest. Cache reads/writes add a lot of overhead I/O to Jest,
8
- // which can especially impact Windows executions. In addition, cache interaction has lead to some issues with
9
- // Jest in the past, such as a race condition when attempting to rename the target cache file (see:
7
+ // This patch is to disable cache reads/writes in Jest. Cache reads/writes add overhead I/O to running Jest
8
+ // with the heft-jest-plugin, since cache files for the heft typescript jest transformer simply read a file
9
+ // from disk and feed it to Jest. In addition, cache interaction has lead to some issues with Jest in the
10
+ // past, such as a race condition when attempting to rename the target cache file (see:
10
11
// https://github.com/facebook/jest/issues/4444). Passing '--no-cache' to Jest simply tells Jest to not read
11
12
// the produced cache files, but does nothing to prevent writing of these files. This patch disables both
12
13
// reading and writing of cache files.
You can’t perform that action at this time.
0 commit comments