Skip to content

Commit

Permalink
upgrade to latest fast-check
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Mar 5, 2020
1 parent 9889c42 commit 6fe1808
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 28 deletions.
43 changes: 17 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"docs-ts": "^0.3.4",
"doctoc": "^1.4.0",
"dtslint": "github:gcanti/dtslint",
"fast-check": "^1.12.1",
"fast-check": "^1.23.0",
"jest": "^24.8.0",
"mocha": "^5.2.0",
"prettier": "^1.19.1",
Expand Down
2 changes: 1 addition & 1 deletion test/property-test/Option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ export function getNone<A>(): fc.Arbitrary<Option<A>> {
* @since 0.0.2
*/
export function getOption<A>(arb: fc.Arbitrary<A>): fc.Arbitrary<Option<A>> {
return fc.oneof(getNone(), getSome(arb))
return fc.oneof(getNone<A>(), getSome(arb))
}

0 comments on commit 6fe1808

Please sign in to comment.