{
  "version": "0.4.3",
  "engines": {
    "node": ">=12"
  },
  "scripts": {
    "prepare": "make build",
    "test": "NODE_ENV=test node_modules/mocha/bin/mocha --compilers ts:ts-node/register --reporter spec --ignore-leaks --bail --timeout 180000 test/*"
  },
  "author": "Clever Team <tech-notify@clever.com>",
  "description": "process-metrics",
  "dependencies": {
    "kayvee": "^3.13.0"
  },
  "devDependencies": {
    "@types/mocha": "^9",
    "@types/node": "^12.12.24",
    "babel-eslint": "^7.0.0",
    "eslint": "^3.8.1",
    "eslint-config-airbnb": "^5.0.1",
    "eslint-plugin-react": "^3.16.1",
    "mocha": "^9",
    "ts-node": "^3.1.0",
    "typescript": "^3"
  },
  "name": "process-metrics"
}

{
  "version": "0.4.3",
  "engines": {
    "node": ">=12"
  },
  "scripts": {
    "prepare": "make build",
    "test": "mocha --require ts-node/register --exit test/*"
  },
  "author": "Clever Team <tech-notify@clever.com>",
  "description": "process-metrics",
  "dependencies": {
    "kayvee": "^3.13.0"
  },
  "devDependencies": {
    "@types/mocha": "^9",
    "@types/node": "^12.12.24",
    "babel-eslint": "^7.0.0",
    "eslint": "^3.8.1",
    "eslint-config-airbnb": "^5.0.1",
    "eslint-plugin-react": "^3.16.1",
    "mocha": "^9",
    "ts-node": "^3.1.0",
    "typescript": "^3"
  },
  "name": "process-metrics"
}

Fix test harness to run on updated mocha version
test: Fix test harness to run on updated mocha version

- We can just call `mocha` instead of `node_modules/...`.
- --compilers was changed to --require.
- Dropped the other flags (did not seem to make a difference).
- Added --exit to successfully exit after finishing the one test in this repo.
