Fix issue with modular output in next case:
Bundle.loadLib('lib', ['lib']).then(function(_) {});
Bundle.loadLib('lib', ['a_b.C_d']).then(function() {});
Also sort for modules in tests by name added, to avoid order dependency which produce failed tests result, which is not failed actually.
Fix sort(null) error(real function added)
In commonParent function add condition, which protect code from infinite loop
Fix issue with modular output in next case: Bundle.loadLib('lib', ['lib']).then(function(_) {}); Bundle.loadLib('lib', ['a_b.C_d']).then(function() {});
Also sort for modules in tests by name added, to avoid order dependency which produce failed tests result, which is not failed actually. Fix sort(null) error(real function added) In commonParent function add condition, which protect code from infinite loop