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

10 lines
275 B
JavaScript
Raw Normal View History

2017-09-10 17:25:29 +05:30
export default class ClassSpecHelper {
2017-08-17 22:00:37 +05:30
static itShouldBeAStaticMethod(base, method) {
return it('should be a static method', () => {
expect(Object.prototype.hasOwnProperty.call(base, method)).toBeTruthy();
});
}
}
window.ClassSpecHelper = ClassSpecHelper;