# Testing

<figure><img src="https://2719145347-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoLK0D9EqGvJS5PYMYdZC%2Fuploads%2F9bmjb6EHtTG5ntZJSRgk%2F00489.png?alt=media&#x26;token=c37f703d-e063-4293-a4c6-097101cbe7c1" alt=""><figcaption></figcaption></figure>

A comprehensive Test Suite for the SDK is located in the `test` folder in the root of the project. Before running the tests, you will need to compile the project and set up your environment variables.

{% hint style="info" %}
You will need LIT Testnet Tokens to run the Test Suite. You can get LIT Testnet Tokens from the official faucet [here](https://faucet.litprotocol.com/).
{% endhint %}

{% hint style="info" %}
Note that some tests use the [api.weather.gov](https://api.weather.gov/gridpoints/LWX/97,71/forecast) as the endpoint for Webhook Conditions. The data returned by this API can change frequently, if you encounter test failures related to these specific tests, you may need to update the expected values with the latest data from the endpoint to ensure accurate comparisons.
{% endhint %}

Place a valid `PRIVATE_KEY` in your `.env` file to create the signer object for minting PKPs on Chronicle.&#x20;

```sh
PRIVATE_KEY=
```

Run the following in your command line:

```bash
npm run test
```
