DEV Community

Discussion on: Serverless Testing Strategies: Testing a Node.js + AWS Lambda + API Gateway app

Collapse
 
jonathanalberghini profile image
Jon Alberghini

Is there any way to get this running on windows? I added win-node-env.
C:\src\iam-auth-api>npm test

legacy-react-middleware-auth@1.0.0 test C:\src\iam-auth-api
NODE_ENV=test PORT=9100 ./node_modules/.bin/mocha --opts mocha.opts

'.' is not recognized as an internal or external command,
operable program or batch file.
Note: This command was run via npm module 'win-node-env'
npm ERR! Test failed. See above for more details.