You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fp-ts introduced a breaking change in version 2.13.
fortepiano currently relies on version 2.12.1. Updating fortepiano to fp-ts version 2.13 or above causes some tests to fail.
For example:
Mock › Chain › chain › should transform Mock value and chain the result
TypeError: f is not a function
664 |
665 | it('should transform Mock value and chain the result', () => {
> 666 | const x = M()()
| ^
667 |
668 | expect(x.email).toBe(
669 | `${x.firstName}.${x.lastName}@pulp.com`.toLowerCase(),
at node_modules/fp-ts/lib/IO.js:48:59
at node_modules/fp-ts/lib/IO.js:50:63
at node_modules/fp-ts/lib/IO.js:48:61
at node_modules/fp-ts/lib/IO.js:50:63
at Object.<anonymous> (src/Mock.test.ts:666:19)
This issue seems to stem from deprecated methods, such as flip in function module. Updating this module should allow fortepiano to be compatible with the latest version of fp-ts (currently 2.16.5).
The text was updated successfully, but these errors were encountered:
fp-ts
introduced a breaking change in version 2.13.fortepiano
currently relies on version 2.12.1. Updatingfortepiano
tofp-ts
version2.13
or above causes some tests to fail.For example:
This issue seems to stem from deprecated methods, such as
flip
infunction
module. Updating this module should allowfortepiano
to be compatible with the latest version offp-ts
(currently2.16.5
).The text was updated successfully, but these errors were encountered: