Nikos Baxevanis
Nikos Baxevanis
Isn't actually the build-in Haskell syntax good enough in ST3? **Haskell syntax (built-in)**:  **Haskell syntax (Sublime Haskell)**: 
Perhaps support for deno is good enough. Here's what @LNow ended up doing: https://github.com/LNow/testing-example/pull/2/commits/1b3758e033e2a08d11bda217ed3203e17b326ecf ```typescript import * as fc from 'https://cdn.esm.sh/v78/[email protected]' export default fc; ```
Hmm... this seems to fail when run inside Deno ``` statistics test TypeError: this.arb.withBias is not a function at ConverterToNext.generate (https://cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/fast-check.js:539:48) at Property.generate (https://cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/fast-check.js:962:28) at https://cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/fast-check.js:1738:26 at https://cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/fast-check.js:1978:58 at mapHelper...
I see a workaround in https://github.com/dubzzz/fast-check/issues/2736, unsure if it applies here though.
If you're on fast-check v3, make sure to replace [`set` with `uniqueArray`](https://github.com/dubzzz/fast-check/blob/c2600091f0410b301142254cde5cc61cd0385f78/packages/fast-check/CHANGELOG.md).
@dubzzz >```ts >fc.statistics( > // Property you would have passed into fc.assert > fc.property( >``` This means it can't be combined with `fc.assert`?
So what's the best way to include statistics in a property test?
Which means it has to run in addition to the property tests that run normally in a test suite. 🤔
So as far as I can tell, I'd have to run the property (via fc.assert) and then re-run the property (via fc.statistics). But this won't reflect the actual test distribution...
Thanks for reporting this. Are you passing `--deprecatedrpc=accounts` to bitcoind when starting?