diff options
| author | Arya Gummadi <[email protected]> | 2025-08-18 22:56:46 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-19 05:56:46 +0000 |
| commit | da396bd5662adcac3ebc60d55cfc1d722b903e38 (patch) | |
| tree | c8f011ea10e8ccab50b746f0349c9dd6ec48b7d5 /integration-tests | |
| parent | 58c2925624c5befe130fbe120707455daf91c910 (diff) | |
fix: ensure consistent theme behavior between local and CI test runs (#6358)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'integration-tests')
| -rw-r--r-- | integration-tests/globalSetup.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/integration-tests/globalSetup.ts b/integration-tests/globalSetup.ts index 89ca203f..00327a91 100644 --- a/integration-tests/globalSetup.ts +++ b/integration-tests/globalSetup.ts @@ -4,6 +4,11 @@ * SPDX-License-Identifier: Apache-2.0 */ +// Unset NO_COLOR environment variable to ensure consistent theme behavior between local and CI test runs +if (process.env.NO_COLOR !== undefined) { + delete process.env.NO_COLOR; +} + import { mkdir, readdir, rm } from 'fs/promises'; import { join, dirname } from 'path'; import { fileURLToPath } from 'url'; |
