Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Is there any Test guide for code-push-server? #107

Description

I'm trying to fork & maintain this code-push-server on this repo, https://github.com/CodePushNext/code-push-server, and struggling to find a way to run test for this server.

What I cannot understand is, there's no test command script, testing runtime framework in devDependencies of package.json, even no babel configuration with typescript test code.

Is there any test guide line that we could start from?

Lukas Cenovsky (@lucen-ms) Dmitriy Kirakosyan (@DmitriyKirakosyan) Djordje (@DordeDimitrijev)

{
  "name": "code-push-server",
  "version": "0.0.1",
  "description": "Source code for the CodePush service API",
  "main": "./script/server.js",
  "scripts": {
    "start": "node ./bin/script/server.js",
    "start:env": "node -r dotenv/config ./bin/script/server.js dotenv_config_path=.env dotenv_config_silent=true",
    "clean": "rimraf bin",
    "build": "tsc && shx cp -r ./script/views ./bin/script",
    "prettier": "prettier --write \"./**/*.ts\"",
    "lint": "npx eslint ./script/**/*.ts",
    "lint:fix": "npx eslint ./script/**/*.ts --fix"
  },
  "devDependencies": {
    "@types/express": "^4.17.17",
    "@types/jest": "^29.5.1",
    "@types/mocha": "^10.0.1",
    "@types/multer": "^1.4.7",
    "@types/node": "^20.1.4",
    "@types/q": "^1.5.5",
    "@typescript-eslint/eslint-plugin": "^6.0.0",
    "@typescript-eslint/parser": "^6.0.0",
    "dotenv": "^16.0.3",
    "eslint": "^8.45.0",
    "prettier": "^2.8.8",
    "rimraf": "^5.0.1",
    "shx": "^0.3.4",
    "supertest": "^6.3.3",
    "typescript": "^5.0.4"
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions