debian-mirror-gitlab/spec/frontend/helpers/class_spec_helper.js

10 lines
275 B
JavaScript
Raw Normal View History

2019-05-18 00:54:41 +05:30
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;