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
/home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary-def/index.js:2428
if (either.isLeft) throw either.value();
^
TypeError: Invalid value
def :: String -> StrMap (Array TypeClass) -> NonEmpty (Array Type) -> Function -> Function
^^^^^^^^
1
1) undefined :: Undefined
The value at position 1 is not a member of ‘Function’.
See https://github.com/sanctuary-js/sanctuary-def/tree/v0.14.0#Function for information about the Function type.
at invalidValue (/home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary-def/index.js:2371:12)
at Either.value (/home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary-def/index.js:1108:18)
at assertRight (/home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary-def/index.js:2428:37)
at /home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary-def/index.js:2468:26
at /home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary-def/index.js:872:20
at createSanctuary (/home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary/index.js:1239:3)
at /home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary/index.js:4627:10
at /home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary/index.js:198:22
at Object.<anonymous> (/home/henrique/development/revmobads/late-install-scheduler/node_modules/sanctuary/index.js:212:2)
at Module._compile (module.js:643:30)
I'm not sure, but maybe this might be related to #324.
I tried to reduce the example to the minimum possible to reproduce the issue, so it might not make sense.
Context
I'm using the following packages:
Also, I'm running
node@8.9.4
.Code
Here are my files:
Current behavior
Run:
Result:
If I remove the lines related to stubbing:
Then the test executes as it should:
I'll see if I can help understand why exactly this is happening.
The text was updated successfully, but these errors were encountered: