Monday, 1 April 2019

Typescript mongoose model testing help

I am trying to test a mongoose model made using typescript. This is running on an express.js in combination with webpack 4.I keep getting the error when creating a new model in the test file. Saying that the model does not have a constructor.The file is being transpired using babel loader 7. Any help is appreciated.I placed the question on stackoverflow.com. Along with code examples.https://stackoverflow.com/questions/55378792/testing-mongoose-model-with-karma

Submitted April 01, 2019 at 09:12PM by serealkillerx

No comments:

Post a Comment