gitlab-org--gitlab-foss/spec/javascripts/helpers/class_spec_helper.js
2017-03-05 21:22:40 +01:00

11 lines
295 B
JavaScript

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;