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
|
|
|
|
2019-12-20 10:07:34 -05:00
|
|
|
describe('ClassSpecHelper', () => {
|
|
|
|
let testContext;
|
|
|
|
|
|
|
|
beforeEach(() => {
|
|
|
|
testContext = {};
|
|
|
|
});
|
|
|
|
|
2018-01-23 10:19:56 -05:00
|
|
|
describe('itShouldBeAStaticMethod', () => {
|
2017-01-04 07:01:14 -05:00
|
|
|
beforeEach(() => {
|
|
|
|
class TestClass {
|
2018-10-17 03:13:26 -04:00
|
|
|
instanceMethod() {
|
|
|
|
this.prop = 'val';
|
|
|
|
}
|
2017-01-04 07:01:14 -05:00
|
|
|
static staticMethod() {}
|
|
|
|
}
|
|
|
|
|
2019-12-20 10:07:34 -05:00
|
|
|
testContext.TestClass = TestClass;
|
2017-01-04 07:01:14 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
ClassSpecHelper.itShouldBeAStaticMethod(ClassSpecHelper, 'itShouldBeAStaticMethod');
|
|
|
|
});
|
|
|
|
});
|