diff --git a/types/jsforce/jsforce-tests.ts b/types/jsforce/jsforce-tests.ts index 6c3895cae9..741b1875f7 100644 --- a/types/jsforce/jsforce-tests.ts +++ b/types/jsforce/jsforce-tests.ts @@ -354,12 +354,12 @@ salesforceConnection.streaming.topic("InvoiceStatementUpdates").subscribe((messa async function testDescribe() { const global: sf.DescribeGlobalResult = await salesforceConnection.describeGlobal(); - const globalCached: sf.DescribeGlobalResult = await salesforceConnection.describeGlobal$(); + const globalCached: sf.DescribeGlobalResult = salesforceConnection.describeGlobal$(); const globalCachedCorrectly = global === globalCached; globalCached.sobjects.forEach(async (sobject: sf.DescribeGlobalSObjectResult) => { const object: sf.DescribeSObjectResult = await salesforceConnection.describe(sobject.name); - const cachedObject: sf.DescribeSObjectResult = await salesforceConnection.describe$(sobject.name); + const cachedObject: sf.DescribeSObjectResult = salesforceConnection.describe$(sobject.name); object.fields.forEach(field => { const type: sf.FieldType = field.type;