Welcome to mirror list, hosted at ThFree Co, Russian Federation.

class_spec_helper.js « helpers « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7a60d33b47187bf1fef7df3620edfaef4577a4f6 (plain)
1
2
3
4
5
6
7
8
9
export default class ClassSpecHelper {
  static itShouldBeAStaticMethod(base, method) {
    return it('should be a static method', () => {
      expect(Object.prototype.hasOwnProperty.call(base, method)).toBeTruthy();
    });
  }
}

window.ClassSpecHelper = ClassSpecHelper;