Facing issue while testing new provider
Ok so I've added a new SMS provider called Clicksend. I'm done with the programming part, but facing issue to test this provider.
When I run the command in root directory, 'pnpm run test:providers' I get the following error:
More over I'm running the project locally while testing this. Here's what I did:
Ran these commands in separate terminals.
npm run start:web
npm run start:worker npm run start:api Only localhost:4200 works (I'm unable to login. It says 'Network error' ) Please help me out with this issue π
npm run start:worker npm run start:api Only localhost:4200 works (I'm unable to login. It says 'Network error' ) Please help me out with this issue π
3 Replies
I think on Windows
pnpm --filter ./providers/** test
doesnt work
because windows uses backslashes
I would suggest to enter folder with provider and simply run pnpm run test
Another thing - when you run worker and api do you get any error logs in terminal? In most cases people forget to run Redis and MongoDB.Thanks for helping out, tests run fine now.
No I don't get any error logs regarding redis/mongo. I'm using docker compose, so it's all taken care of
@parveshhh11, you just advanced to level 1!