Boilerplate to create npm packages.
npm run build
npm publish
Link the package locally
yarn add ../<this folder>
npm run test
this can be done using command like as follows
TZ=Etc/UTC npm run test:single -- tests-unit/__tests__/index.test.js --runTestsByPath --testNamePattern "^Test Index\stest the logger attribute of the index class$"
Or
using the vscode plugin asvetliakov.run-current-test
. place on the single unit test you need to run, and then command + t
Check the .vscode/launch.json
for more debugging options