In order to test your Sway and TS-SDK applications, you can test your code in a number of ways:
forc test
see the Sway docs for more info To test your Sway applications using the TS-SDK, you can pick whatever testing library or framework you feel comfortable with. There isn't any specific testing framework needed, it is entirely up to the user. That being said, the TS-SDK uses Jest for its tests.
You'll often want to create one or more test wallets when testing your contracts.
For this, you can find two simple utilities on the wallet package:
See also:
Was this page helpful?