summaryrefslogtreecommitdiff
path: root/packages/core/test-setup.ts
blob: 64685d18083fd4d6341d8342aefcbf3450e69721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * @license
 * Copyright 2025 Google LLC
 * 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 { setSimulate429 } from './src/utils/testUtils.js';

// Disable 429 simulation globally for all tests
setSimulate429(false);