Closed adambaker closed 11 years ago
Hm, currently the satisfy
function runs in the context of the property, but I guess it does make sense to have the asTest
function run in the context that's passed to it. This should be an easy fix by cloning the property object in the as-test function and binding the invariant to the this
object passed to the returned function. I'll work on this tomorrow.
Could you check out 0.4.1 and see if it works for you? :3
great success, thanks.
Here's how I work around this limitation currently
I should be able to say: