diff --git a/README.md b/README.md index 86e0d163..006828db 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,11 @@ Note: * Whenever you are ready to turn your open-source bot ideas in form of .gbapp (source-code) and artifacts like .gbkb, .gbtheme, .gbot or the .gbai full package read [CONTRIBUTING.md](https://github.com/pragmatismo-io/BotServer/blob/master/CONTRIBUTING.md) about performing Pull Requests (PR) and creating other public custom packages repositories of your own personal or organization General Bot Community Edition powered packages. +### Running unit tests + +1. Enter the BotServer root folder. +2. Run tests by `npm test`. + ### Just copy the source code to your machine 1. [Download] the Zip file of (https://codeload.github.com/pragmatismo-io/BotServer/zip/master) diff --git a/package.json b/package.json index bd449ae5..f9ae2381 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "startIde": "npm-run-all clean --parallel watch:build watch:server --print-label", "watch:build": "tsc --watch", "watch:server": "nodemon './dist/index.js' --watch './dist'", - "test": "mocha -r ts-node/register src/**/*.test.ts", + "test": "mocha -r ts-node/register deploy/**/*.test.ts", "build-docs": "typedoc --options typedoc.json src/" }, "engines": {