> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: installLynxTestingEnv()

> **installLynxTestingEnv**(`target`: _typeof_ `globalThis` & `object`, `env`: [`LynxEnv`](/next/api/packages/testing-environment/interfaces/LynxEnv.md)): `void`

Installs a `LynxTestingEnv` instance and its required globals onto a target.

## Parameters

| Parameter | Type                                                                      |
| --------- | ------------------------------------------------------------------------- |
| `target`  | _typeof_ `globalThis` & `object`                                          |
| `env`     | [`LynxEnv`](/next/api/packages/testing-environment/interfaces/LynxEnv.md) |

## Returns

`void`
