Friday, 31 July 2020

How to resolve imports in Typescript Mocha Testing?

I'm having an issue importing various classes for mocha testing, for my Typescript project. I have included the following stackoverflow post for reference:https://stackoverflow.com/questions/63192719/how-to-resolve-class-is-not-a-constructor-error-in-typescript-mocha-testingnpm start works just fine but npm test is throwing an error where [Class] is not a constructor for most classes in my project.

Submitted July 31, 2020 at 04:04PM by e_n_v

No comments:

Post a Comment