Skip to content

Commit

Permalink
Extend timeouts on mints tests (#348)
Browse files Browse the repository at this point in the history
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## Does this change the ABI/API?

- [ ] This changes the ABI/API

<!-- If so, please describe how and what potential impact this may have -->

## What tests did you add/modify to account for these changes

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, tests ran to see how -->
<!--- your change affects other areas of the code, etc. -->

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New module / feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] i added a changeset to account for this change

## Reviewer Checklist:

- [ ] My review includes a symposis of the changes and potential issues
- [ ] The code style is enforced
- [ ] There are no risky / concerning changes / additions to the PR
  • Loading branch information
oveddan authored Apr 10, 2024
1 parent 28486bf commit 5a1f916
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/protocol-sdk/src/mints/mints-contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ describe("MINTs collecting and redeeming.", () => {

expect(totalMintsBalance).toEqual(initialMintsQuantityToMint);
},
20_000,
);
anvilTest(
"can use MINTSs to collect premint and non-premint",
Expand Down Expand Up @@ -362,6 +363,7 @@ describe("MINTs collecting and redeeming.", () => {
(firstQuantityToCollect + secondQuantityToCollect),
);
},
20_000,
);
anvilTest(
"can decode errors from transferBatchToManagerAndCall",
Expand Down Expand Up @@ -440,6 +442,7 @@ describe("MINTs collecting and redeeming.", () => {
}
}
},
20_000,
);
anvilTest(
"can use MINTs to gaslessly collect premint",
Expand Down Expand Up @@ -546,6 +549,7 @@ describe("MINTs collecting and redeeming.", () => {
),
).toBe(initialMintsBalance - premintQuantityToCollect);
},
20_000,
);

anvilTest(
Expand Down Expand Up @@ -715,5 +719,6 @@ describe("MINTs collecting and redeeming.", () => {

expect(tokenBalance).toBe(quantityToMintOn1155 * 2n);
},
20_000,
);
});

0 comments on commit 5a1f916

Please sign in to comment.