Skip to content

Could we use npm install -D ts-jest instead of npm add ts-jest? #985

@ziyang-works

Description

@ziyang-works

Questions regarding https://cap.cloud.sap/docs/node.js/typescript#testing-with-ts-jest
image

  1. npm add is an alias for much more common npm install (source). Could we use the latter to avoid confusion?
  2. ts-jest is a dev dependency, but npm add adds it to dependencies. We should use npm install -D ts-jest instead

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