mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
This makes it easier to find obsolete parts of the tests that should be cleaned up. Signed-off-by: Anders Kaseorg <anders@zulip.com>
13 lines
212 B
JavaScript
13 lines
212 B
JavaScript
"use strict";
|
|
|
|
class FakeEvent {
|
|
constructor(type, props) {
|
|
this.type = type;
|
|
Object.assign(this, props);
|
|
}
|
|
preventDefault() {}
|
|
stopPropagation() {}
|
|
}
|
|
|
|
module.exports = FakeEvent;
|