Open vishalbiradar opened 7 years ago
I am successfully using this hook on a sails project where I have my models and controllers written in typescript.
I did install typescript this way https://sailsjs.com/documentation/tutorials/using-type-script not with a gulp.
I have followed all the steps mentioned by you to integrate sails js with swagger. But while doing testing I am getting error. In our project we have written the api controllers in tyescript. Then we have written gulp code for converting it into javascript files. But while testing those controllers using mocha, test is getting failed.
api/controllers/UserDetailsController.ts
service in typescript
api/services/dbUtils.ts
test cases:
the error I am getting is: