8000 Update header · GitklcHub/rushstack@3bdb3be · GitHub
[go: up one dir, main page]

Skip to content

Commit 3bdb3be

Browse files
committed
Update header
1 parent 00b99e3 commit 3bdb3be

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

heft-plugins/heft-jest-plugin/src/patches/jestScriptTransformerPatch.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
import * as path from 'path';
55
import { Import, FileSystem } from '@rushstack/node-core-library';
66

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:
1011
// https://github.com/facebook/jest/issues/4444). Passing '--no-cache' to Jest simply tells Jest to not read
1112
// the produced cache files, but does nothing to prevent writing of these files. This patch disables both
1213
// reading and writing of cache files.

0 commit comments

Comments
 (0)
0