Socket
Book a DemoInstallSign in
Socket

@saberhq/chai-solana

Package Overview
Dependencies
Maintainers
2
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saberhq/chai-solana

Solana Chai helpers

1.12.50
Source
npmnpm
Version published
Weekly downloads
150
-1.96%
Maintainers
2
Weekly downloads
 
Created
Source

chai-solana

Chai helpers for Solana tests.

  • Address/PublicKey comparisons
  • TokenAmount comparisons
  • Transaction envelope validations

Documentation

Detailed information on how to build on Saber can be found on the Saber developer documentation website.

Automatically generated TypeScript documentation can be found on GitHub pages.

Installation

yarn add @saberhq/chai-solana

Examples

The best way to learn how to use chai-solana is by example. View examples in the integration tests here:

Common Issues

Invalid Chai property: eventually

Downgrade to Chai v4.3.4. Versions after this changed the way Chai bundled its dependencies, causing issues in how chai-as-promised is installed.

License

Apache 2.0

FAQs

Package last updated on 11 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.