Skip to content

docs: add testing docs #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
...
}
```
Loading