iopipe / turtle

Turtle - functional composition for building lambda architectures in NodeJS
Apache License 2.0
153 stars 9 forks source link

Fix/support callback for define() #74

Closed ewindisch closed 8 years ago

ewindisch commented 8 years ago

The define() function returns a function which has supported an input parameter and was supposed to support a callback. The callback mechanism was not working correctly and was only running define's first function, so now it's fixed.

The test has been adapted to ensure that multiple functions are chained before verifying that the callback succeeds.

Signed-off-by: Eric Windisch eric@windisch.us

ewindisch commented 8 years ago

Tests run successfully locally. Need to fix CircleCI integration.