hi,
below is my package.json script section
"test": "cd ./app/ && mocha --timeout 15000",
"build": "cd ./app && pm2 start app.js",
and below is my bitbucket-pipelines.yml file
image: node:10.15.1
pipelines: default:
- step: caches: - node
script: # Modify the commands below to build your repository.
- yarn
- yarn build
- yarn test
my pm2 has successfully configured on bitbucket pipelines

and this is below test fail which works seamlessly on my local machine with pm2 :

can we investigate on same and provide with solution on same .
how do i check whether my server is running or not and proceed with other end to end features testing like login mechanism