体验新版 GitCode,发现更多精彩内容 >>
class ClassSpecHelper { static itShouldBeAStaticMethod(base, method) { return it('should be a static method', () => { expect(Object.prototype.hasOwnProperty.call(base, method)).toBeTruthy(); }); } }
window.ClassSpecHelper = ClassSpecHelper;