Skip to content

Commit

Permalink
improving tests descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Torres-ssf committed May 24, 2024
1 parent 86f7ece commit 4179a9c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]]);
Expand All @@ -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, [
Expand Down

0 comments on commit 4179a9c

Please sign in to comment.