Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'anchor test' failing for at least one project #117

Open
mikemaccana opened this issue Aug 23, 2024 · 1 comment
Open

'anchor test' failing for at least one project #117

mikemaccana opened this issue Aug 23, 2024 · 1 comment

Comments

@mikemaccana
Copy link
Contributor

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!

@heyAyushh
Copy link
Contributor

heyAyushh commented Aug 29, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants