summaryrefslogtreecommitdiff
path: root/spec/javascripts/helpers/class_spec_helper.js
blob: 61db27a8fccb0d90a14898d91c4ad1af8e22ab96 (plain)
1
2
3
4
5
6
7
8
9
10
11
class ClassSpecHelper {
  static itShouldBeAStaticMethod(base, method) {
    return it('should be a static method', () => {
      expect(Object.prototype.hasOwnProperty.call(base, method)).toBeTruthy();
    });
  }
}

window.ClassSpecHelper = ClassSpecHelper;

module.exports = ClassSpecHelper;