title: Extend class without its decorators
body: <p>Class I'd like to stub in test</p>
  <pre><code>@stubOnTest('CategorizationServiceStub')
  class CategorizationService {
   ...
  </code></pre>
  <p>The stub class</p>
  <pre><code>import CategorizationService from '../../server/services/CategorizationService';
  
  export default class CategorizationServiceStub extends CategorizationService {
   ....
  </code></pre>
  <p>The decorator to 'catch' the calls to <code>CategorizationService</code> and replace it with mock</p>
  <pre><code>export default function stubOnTest(stubbedClassStr: string) {
    const pathToStubbedClass = path.resolve(__dirname, stubsDir, stubbedClassStr);
    const stubbedClass = require(pathToStubbedClass);
    ...
  </code></pre>
  <p>But when <code>CategorizationServiceStub</code> is called, it extends <code>CategorizationService</code> which calls decorator <code>@stubOnTest('CategorizationServiceStub')</code>.</p>
  <p>And then it becomes an endless loop.</p>
  <p>Is there a way to avoid that?</p>