-
Notifications
You must be signed in to change notification settings - Fork 139
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
clarinet test should be able to not fail on ts compile #282
Comments
/cc @lgalabru |
I think I got the answer for this. It appears that an older version of deno is used. In the most recents versions of it, deno should no longer type check, just transpile, and so Any concerns wrt pulling the latest from deno upstream and applying hirosystems/deno/tree/clarinet/patch-v3 on top of it? I'd be happy to work on that, if you agree. @lgalabru @obycode For the time being, I can just use |
hey @moodmosaic! Line 141 in 5785a6e
and pass it all the way down to: Line 221 in 5785a6e
@obycode and I are pretty busy with our backlog, but if you have the bandwidth and a use case for this ask, I'd be supportive :) |
Looks fascinating! do you have a repo that we can watch / star? |
I think I'm fine for now with Closing for now, and if (a PR) needed I will reopen. Thanks again for the help. |
If Clarinet.test calls into Deno.test, then can we pass flags in
clarinet test
that will be then passed intodeno test
?I'm particularly interested in the
--no-check
flag.So something like this is what I need:
I'm working on model-based testing for Clarity contracts, similar to what Echidna does for Solidity contracts, and there are some parts in my tests that are syntactically valid JavaScript, but the TypeScript part won't type-check for several reasons (e.g.
.d.ts
file missing).If there's a way to supply a custom flag in deno then that would be great, if not I'd be happy to submit a PR for it.
The text was updated successfully, but these errors were encountered: