mattfysh / testr.js

Unit testing require.js modules, with both stubbed and script-loaded dependencies. Compatible with all test frameworks - Jasmine, QUnit, JsTestDriver, Buster JS, etc.
159 stars 7 forks source link

depLoad set to false after first dependency returned #1

Closed mattfysh closed 12 years ago

mattfysh commented 12 years ago

depLoad is being set to false after the first dependency is returned, which could lead to stubs not being used for subsequent dependencies.

Write the unit test and fix.