program-examples
program-examples copied to clipboard
'anchor test' failing for at least one project
in tokens/escrow/anchor, anchor test fails with:
TypeError: Unknown file extension ".ts" for /Users/mikemaccana/Code/solana/program-examples/tokens/escrow/anchor/tests/escrow.ts
This is produced by ts-node. This used to work - did something change inAnchor.toml? Also CI should be picking up that the test command failed!
An logical bug in anchor action was found where it was not building and testing some of the projects inside the batch. This bug was fixed with #113
The specific error in tokens/escrow/anchor was caused by @solana-developers/helpers being esm module and not getting picked up by ts-mocha (ts-node). That will be fixed in another pr. (Will notify here once it's fixed)