index.ts 1.0 KB

123456789101112131415161718192021222324
  1. // Tests are for whether we are able to call native Solana programs and fetch
  2. // program state through Anchor client and not for whether internal program logic
  3. // works as intended. For the latter case, check out the program's repository.
  4. //
  5. // Tests are for the latest versions of the programs as of 2022-08-20, in order for
  6. // tests to work, make sure the programs are up-to date in your local validator.
  7. import * as SPL from "./spl";
  8. import { mainTest, programTest } from "./utils";
  9. // You can remove `await`s if you want to run tests in parallel(faster).
  10. mainTest(async () => {
  11. await programTest(SPL.associatedTokenAccountTests);
  12. await programTest(SPL.binaryOptionTests);
  13. await programTest(SPL.binaryOraclePairTests);
  14. await programTest(SPL.featureProposalTests);
  15. await programTest(SPL.memoTests);
  16. await programTest(SPL.nameServiceTests);
  17. await programTest(SPL.recordTests);
  18. await programTest(SPL.splTokenTests);
  19. await programTest(SPL.stakePoolTests);
  20. await programTest(SPL.statelessAsksTests);
  21. await programTest(SPL.tokenSwapTests);
  22. });