debian-mirror-gitlab/spec/frontend/helpers/class_spec_helper.js
2020-05-25 16:23:42 +05:30

10 lines
318 B
JavaScript

// eslint-disable-next-line jest/no-export
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;