getsaf/shallow-render

TypeError: compiler_1.DirectiveResolver is not a constructor

Closed this issue · 1 comments

I am getting the following error with my angular upgrade.

Test suite failed to run

    TypeError: compiler_1.DirectiveResolver is not a constructor

    > 1 | import { Shallow } from 'shallow-render';

 at Object.<anonymous> (../../node_modules/shallow-render/lib/tools/reflect.ts:5:34)
      at Object.<anonymous> (../../node_modules/shallow-render/lib/tools/get-ng-module-annotations.ts:3:1)
      at Object.<anonymous> (../../node_modules/shallow-render/lib/tools/create-test-module.ts:5:1)
      at Object.<anonymous> (../../node_modules/shallow-render/lib/models/renderer.ts:6:1)
      at Object.<anonymous> (../../node_modules/shallow-render/lib/shallow.ts:6:1)
      at Object.<anonymous> (../../node_modules/shallow-render/index.ts:1:1)

Can someone please check this and advise?

it worked with the 13.0.1 version!