This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
428 B
19 lines
428 B
6 years ago
|
// Jest fatals for the following statement (minimal repro case)
|
||
|
//
|
||
|
// exports.something = Symbol;
|
||
|
//
|
||
|
// Until it is fixed, mocking the entire node module makes the
|
||
|
// problem go away.
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
function EventTarget() {
|
||
|
// Support both EventTarget and EventTarget(...)
|
||
|
// as a super class, just like the original module does.
|
||
|
if (arguments.length > 0) {
|
||
|
return EventTarget;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = EventTarget;
|