debian-mirror-gitlab/spec/frontend/helpers/dom_shims/mutation_observer.js

8 lines
157 B
JavaScript
Raw Normal View History

2020-06-23 00:09:42 +05:30
/* eslint-disable class-methods-use-this */
class MutationObserverStub {
disconnect() {}
observe() {}
}
global.MutationObserver = MutationObserverStub;