summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/events/tests/index.js
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
commit953ddd82e48dd206cef5ac94456549aed13b3ad5 (patch)
tree8f003106ee2e7f422e5a22d2ee04d0db302e66c0 /includes/external/matrix/node_modules/events/tests/index.js
parent62a9199846b0c07c03218703b33e8385764f42d9 (diff)
downloadpluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.gz
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.bz2
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.zip
Updated 30 files and deleted 2976 files (automated)
Diffstat (limited to 'includes/external/matrix/node_modules/events/tests/index.js')
-rw-r--r--includes/external/matrix/node_modules/events/tests/index.js64
1 files changed, 0 insertions, 64 deletions
diff --git a/includes/external/matrix/node_modules/events/tests/index.js b/includes/external/matrix/node_modules/events/tests/index.js
deleted file mode 100644
index 2d739e6..0000000
--- a/includes/external/matrix/node_modules/events/tests/index.js
+++ /dev/null
@@ -1,64 +0,0 @@
-var test = require('tape');
-var functionsHaveNames = require('functions-have-names');
-var hasSymbols = require('has-symbols');
-
-require('./legacy-compat');
-var common = require('./common');
-
-// we do this to easily wrap each file in a mocha test
-// and also have browserify be able to statically analyze this file
-var orig_require = require;
-var require = function(file) {
- test(file, function(t) {
- // Store the tape object so tests can access it.
- t.on('end', function () { delete common.test; });
- common.test = t;
-
- try {
- var exp = orig_require(file);
- if (exp && exp.then) {
- exp.then(function () { t.end(); }, t.fail);
- return;
- }
- } catch (err) {
- t.fail(err);
- }
- t.end();
- });
-};
-
-require('./add-listeners.js');
-require('./check-listener-leaks.js');
-require('./errors.js');
-require('./events-list.js');
-if (typeof Promise === 'function') {
- require('./events-once.js');
-} else {
- // Promise support is not available.
- test('./events-once.js', { skip: true }, function () {});
-}
-require('./listener-count.js');
-require('./listeners-side-effects.js');
-require('./listeners.js');
-require('./max-listeners.js');
-if (functionsHaveNames()) {
- require('./method-names.js');
-} else {
- // Function.name is not supported in IE
- test('./method-names.js', { skip: true }, function () {});
-}
-require('./modify-in-emit.js');
-require('./num-args.js');
-require('./once.js');
-require('./prepend.js');
-require('./set-max-listeners-side-effects.js');
-require('./special-event-names.js');
-require('./subclass.js');
-if (hasSymbols()) {
- require('./symbols.js');
-} else {
- // Symbol is not available.
- test('./symbols.js', { skip: true }, function () {});
-}
-require('./remove-all-listeners.js');
-require('./remove-listeners.js');