Testing the Sui Agent Kit helps confirm that all functionalities are working as intended. You can perform automated tests or interact with the agent in various modes to validate its operations.
The project includes a test script located at test/index.ts. To execute the tests:
Ensure Dependencies are Installed
If you haven’t installed the dependencies yet, refer to the Setup Locally guide.
Run the Test Script
Copy
pnpm run test
This will run the test/index.ts script using ts-node. Ensure that your environment variables are correctly set in the .env file before running the tests.