index.js 704 B

12345678910111213141516171819202122232425
  1. require('./legacy-compat');
  2. // we do this to easily wrap each file in a mocha test
  3. // and also have browserify be able to statically analyze this file
  4. var orig_require = require;
  5. var require = function(file) {
  6. test(file, function() {
  7. orig_require(file);
  8. });
  9. }
  10. require('./add-listeners.js');
  11. require('./check-listener-leaks.js');
  12. require('./listener-count.js');
  13. require('./listeners-side-effects.js');
  14. require('./listeners.js');
  15. require('./max-listeners.js');
  16. require('./modify-in-emit.js');
  17. require('./num-args.js');
  18. require('./once.js');
  19. require('./set-max-listeners-side-effects.js');
  20. require('./subclass.js');
  21. require('./remove-all-listeners.js');
  22. require('./remove-listeners.js');