Sign In

@cloudelements/doctor-core

Package Overview
Dependencies
Maintainers
42
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudelements/doctor-core

The Core functionality of Doctor - The Cloud Elements Asset Management Tool

Source
npmnpm
Version
1.0.14
Version published
Weekly downloads
8
-68%
Maintainers
42
Weekly downloads
 
Created
Source

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

  • 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).
  • Some of the features won't work if you are not following the node version specified in the package.json file.
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

FAQs

Package last updated on 23 Aug 2021

Related posts