From 4179a9cada578e04ba165b60adda817dd5afa659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Torres?= <30977845+Torres-ssf@users.noreply.github.com> Date: Fri, 24 May 2024 08:54:43 -0300 Subject: [PATCH] improving tests descriptions --- .../fuel-gauge/src/predicate/predicate-estimations.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/fuel-gauge/src/predicate/predicate-estimations.test.ts b/packages/fuel-gauge/src/predicate/predicate-estimations.test.ts index 12fb89bf26..9110c659a4 100644 --- a/packages/fuel-gauge/src/predicate/predicate-estimations.test.ts +++ b/packages/fuel-gauge/src/predicate/predicate-estimations.test.ts @@ -210,8 +210,8 @@ describe('Predicate', () => { expect(dryRunSpy).toHaveBeenCalledOnce(); }); - describe('should ensure resources inputs from a predicate includes predicateData', () => { - test('fetching with predicate', async () => { + describe('predicate resource fetching and predicateData population', () => { + test('getting predicate resources via the predicate automatically populates predicateData', async () => { const transactionRequest = new ScriptTransactionRequest(); const resources = await predicateStruct.getResourcesToSpend([[fundingAmount, baseAssetId]]); @@ -228,7 +228,7 @@ describe('Predicate', () => { }); }); - test('fetching with provider', async () => { + test('getting predicate resources via the provider requires manual predicateData population', async () => { const transactionRequest = new ScriptTransactionRequest(); const resources = await provider.getResourcesToSpend(predicateStruct.address, [