Month: November 2018
-
AWS 2_ContinuousDeliveryPipeline Tutorial – Error: no test specified
Hi everyone, I ran into the following error while completing an AWS tutorial: https://github.com/aws-samples/aws-serverless-workshops/tree/master/DevOps/2_ContinuousDeliveryPipeline C:UsersChris-PCsourcereposUniApiuni-apitest>npm test > uni-api-test@1.0.0 test C:UsersChris-PCsourcereposUniApiuni-api > echo ‘Error: no test specified’ ‘Error: no test specified’ The solution was to add the following line to my package.json file: “scripts”: {“test”: “mocha”} Now when running npm test I get the expected test…