Getting Error: no test specified when running a New Run in Heroku

95 Views Asked by At

When I am running New Test Run in Heroku . I am getting error as Getting Error: no test specified when running a New Run in Heroku . I am sharing package.json for my build.I have also specified command in procfile. Request to please help in this Issue.

Note Github repo is connected with Heroku & entire code is there.

{
  "name": "testing",
  "version": "1.0.0",
  "description": "test",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "wdio": "wdio run ./wdio.conf.js",
    "start": "npm start"
  },
  "author": "****",
  "license": "ISC",
  "devDependencies": {
    "@wdio/local-runner": "^7.25.4",
    "@wdio/spec-reporter": "^8.11.2",
    "chromedriver": "^114.0.2",
    "wdio-chromedriver-service": "^8.1.1",
    "wdio-cucumberjs-json-reporter": "^4.4.3"
  },
  "dependencies": {
    "@wdio/cli": "^7.25.4",
    "@wdio/cucumber-framework": "^7.25.4",
    "cucumber-html-reporter": "^7.1.0",
    "fs-extra": "^11.1.1",
    "properties-parser": "^0.6.0"
  }
}

Issue Image

I was expecting that my test must run sucessfully using procfile.

0

There are 0 best solutions below