viaplay/simple-ioc — pull request #3 by gabrielf (2013-09-23 14:03:03+00:00)
Title: Reset settings

Added some basic test cases and fixed the following problems:

* settings were not reset on ioc.reset()
* the container crashed when using ioc.inject( function ( unresolvableDependency ) {...} ) instead of resolving to undefined

The Makefile comes from: https://gist.github.com/ry/836511 and the tests can be run using 'make' or 'npm test' and give the following output:

```
Using /usr/bin/node
test/autoRegister.js: PASS
test/conditionalRegister.js: PASS
test/readyCallbackWaitingWarning.js: PASS
test/register.js: PASS
test/reset.js: PASS
test/resetWithSettings.js: PASS
```