Closed kasongoyo closed 7 years ago
I have figured it out. The test got executed before seneca initialization process complete so I had to increase test timeout and problem has disappeared.
You might be interested in the ready callback: http://senecajs.org/api/#method-ready Not sure if it solves your problem but it is the way to execute actions when seneca is ready.
Thanks
On 22 March 2017 at 11:04, kaso notifications@github.com wrote:
Closed #124 https://github.com/senecajs/seneca-web/issues/124.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/senecajs/seneca-web/issues/124#event-1010236755, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHkOhE-_M2xv9VWWpupi_v1trX5kywXks5roQA2gaJpZM4Mk_wq .
Thanks @dgonzalez.
`
`
Attached is my application.js that hold the app code. I have exported express instance so that I can be able to plug in the instance to supertest the way I use to run test when I don't using seneca-web, but no routes seems to be found when I run actually test? What difference does the seneca web add that prevent express instance app to have routes.