feat: added integration tests for saveFile method

This commit is contained in:
Stevan Freeborn
2023-02-16 23:37:03 -06:00
parent ee5aaf3c1f
commit c1ff572bf9
8 changed files with 297 additions and 5 deletions
@@ -153,7 +153,7 @@ describe('getFileInfoById', function () {
const client = new OnspringClient(baseURL, apiKey);
if (process.env.TEST_ATTACHMENT_FIELD_NO_ACCESS_APP === undefined) {
expect.fail('EST_ATTACHMENT_FIELD_NO_ACCESS_APP is not defined');
expect.fail('TEST_ATTACHMENT_FIELD_NO_ACCESS_APP is not defined');
}
const fieldId = parseInt(process.env.TEST_ATTACHMENT_FIELD_NO_ACCESS_APP);