diff --git a/src/index.js b/src/index.js index 909d42c..08c25bd 100644 --- a/src/index.js +++ b/src/index.js @@ -31,6 +31,9 @@ export default class LightRunner { // Workers don't have a tty; we whant them to inherit // the color support level from the main thread. FORCE_COLOR: supportsColor.stdout.level, + // Some applications use this to detect whether they + // are running in Jest. + JEST_WORKER_ID: "1", ...process.env, }, });