2017-01-04 07:01:14 -05:00
|
|
|
/* global ClassSpecHelper */
|
2017-01-27 20:33:58 -05:00
|
|
|
|
2017-05-16 17:01:51 -04:00
|
|
|
import './class_spec_helper';
|
2017-01-04 07:01:14 -05:00
|
|
|
|
|
|
|
describe('ClassSpecHelper', () => {
|
2018-01-23 10:19:56 -05:00
|
|
|
describe('itShouldBeAStaticMethod', () => {
|
2017-01-04 07:01:14 -05:00
|
|
|
beforeEach(() => {
|
|
|
|
class TestClass {
|
|
|
|
instanceMethod() { this.prop = 'val'; }
|
|
|
|
static staticMethod() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.TestClass = TestClass;
|
|
|
|
});
|
|
|
|
|
|
|
|
ClassSpecHelper.itShouldBeAStaticMethod(ClassSpecHelper, 'itShouldBeAStaticMethod');
|
|
|
|
});
|
|
|
|
});
|