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