@cloudelements/doctor-core

1.0.16 • Public • Published

doctor-core

The doctor-core holds the core functionality of Doctor tool (The Cloud Elements Asset Management Tool) which will be used internally by doctor-service.

doctor-core unit tests

Run all the unit test cases via the following command

$ npm run test:unit

PROTIP: node version must be >= v12.18.3

Run a single unit test file via the following command

$ jest getExtendedElements.test.js

Run all the unit test cases with coverage and view the code coverage report via the following command

$ npm run test:unit:coverage

Important notes

  1. Debug and console.logs in doctor-core are disabled by default. To enable them, the ENABLE_DEBUG_LOG environment variable must be set to true (true for CLI by default).
  2. Some of the features won't work if you are not following the node version specified in the package.json file.

Steps to link local doctor-core project as a dependency in doctor-cli or doctor-service

cd <path/to/doctor-core>                 # go into the doctor-core project directory
npm link                                 # creates global link
cd <path/to/doctor-service/doctor-app>   # go into some other project directory.
npm link @cloudelements/doctor-core      # link-install the package

/@cloudelements/doctor-core/

    Package Sidebar

    Install

    npm i @cloudelements/doctor-core

    Weekly Downloads

    1

    Version

    1.0.16

    License

    ISC

    Unpacked Size

    125 kB

    Total Files

    68

    Last publish

    Collaborators

    • ishanpandey1
    • mukeshkumar-uipath
    • venkateshcherukuri
    • kshitij858
    • rishabh2707
    • subrahmanyansankaran
    • harishreddy1
    • arun-is
    • manasnilorout
    • vikasjayaraman
    • mkaoudis-uipath
    • abhishek-dev
    • nikhil.maryala.uipath
    • benhorblit-uipath
    • veerallyt
    • chinnapave
    • monika_2702
    • abhilashkolluri
    • sameerkasturi
    • mohit-dev
    • ot.torrents
    • chaaz
    • ramana4029
    • tyltot
    • ylavish
    • patrickdechant
    • rockymadden
    • burdara
    • cebot
    • steve-ce
    • bharadwajturlapati
    • mukundce
    • kcguttikonda
    • pradeepgorajana7
    • rajubh428
    • girinellore
    • kevinchoinj
    • atulbarve
    • venkat.dasari
    • chandusailella
    • roberts-cliff
    • ishan.deep
    • manideepce
    • manishekar
    • travismcchesney