{
  "name": "jest-testing",
  "version": "1.0.0",
  "description": "Working with Jest and other awesome tools",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [
    "Jest",
    "testing",
    "test",
    "Unit",
    "tests",
    "e2e",
    "test"
  ],
  "author": "Vitalii Rybka",
  "license": "MIT"
}

{
  "name": "jest-testing",
  "version": "1.0.0",
  "description": "Working with Jest and other awesome tools",
  "main": "index.js",
  "scripts": {
    "test": "jest --coverage"
  },
  "keywords": [
    "Jest",
    "testing",
    "test",
    "Unit",
    "tests",
    "e2e",
    "test"
  ],
  "author": "Vitalii Rybka",
  "license": "MIT",
  "devDependencies": {
    "jest-cli": "^21.2.1"
  },
  "jest": {
    "testEnvironment": "node"
  }
}

Install jest-cli. Edit text command in scripts section. Add configuration for jest
Install jest-cli. Edit text command in scripts section. Add configuration for jest
