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
{{ message }}
This repository was archived by the owner on Jun 6, 2023. It is now read-only.
I believe I have found a bug and would like to clarify. Around line 100 of testr.js you will find:
varthisRequire=origRequire(cfg,cfg.deps,function(){cfg.callback&&cfg.callback();if(++requireLoadedCount===requireCount){// all requires have finished loading, execute testr callbackcomplete();}}
This is part of the replacement require function. cfg.callback is invoked if it is defined, however cfg.callback is never set to a value. I believe the code should be invoking the callback passed to the require function as when I call require with testr loaded on the page none of the require callback methods are invoked.
I believe I have found a bug and would like to clarify. Around line 100 of testr.js you will find:
This is part of the replacement require function. cfg.callback is invoked if it is defined, however cfg.callback is never set to a value. I believe the code should be invoking the callback passed to the require function as when I call require with testr loaded on the page none of the require callback methods are invoked.