From a80ecda827f7a3bb6c41a1ee1de12999dc007243 Mon Sep 17 00:00:00 2001 From: Elliot Date: Fri, 25 Apr 2025 14:49:42 -0500 Subject: [PATCH] add testing docs --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 140db09..c568640 100644 --- a/README.md +++ b/README.md @@ -49,4 +49,19 @@ fastify.get('/accounts', async function (request, reply) { logger.info(`For invoking org (${org.id}), found the following Accounts: ${JSON.stringify(accounts || {})}`); return accounts; }); +``` + +## Testing +This project has CI tests to ensure quality. + +In addition, to test changes in a deployed Heroku app, you can use `yarn pack` to create a tar ball. This can be consumed in a Heroku node app by committing it to source and referencing it in `package.json`: + +``` +{ + ... + "dependencies": { + "@heroku/salesforce-sdk-nodejs": "file:./src/heroku-salesforce-sdk-nodejs-v0.3.4-ea.tgz", + } + ... +} ``` \ No newline at end of file