debian-mirror-gitlab/spec/frontend/helpers/dom_shims/mutation_observer.js
2020-06-23 00:09:42 +05:30

7 lines
157 B
JavaScript

/* eslint-disable class-methods-use-this */
class MutationObserverStub {
disconnect() {}
observe() {}
}
global.MutationObserver = MutationObserverStub;