krakenjs / swaggerize-routes

Swagger document driven route builder.
Other
58 stars 57 forks source link

Option to allow spec files to live next to handlers #64

Closed gary-lloyd closed 2 months ago

gary-lloyd commented 8 years ago

Currently if I put my test files (.spec.js) in the handlers directory then I correctly get a build failure of ReferenceError: describe is not defined as Jasmine isn't a run time dependency.

It would be great if there was an optional configu parameter to set an exclude pattern for handler parsing.