Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bump test timeouts for List unit tests #4201

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe("Building a list", () => {

test(
"Removing an item when all cards are inactive",
{ timeout: 35_000 },
{ timeout: 45_000 },
async () => {
// Setup three cards
const {
Expand Down Expand Up @@ -500,7 +500,7 @@ describe("Form validation and error handling", () => {
* We are testing that the validation schemas are correctly "wired up" to out List component fields
*/
describe("existing validation schemas are correctly referenced", () => {
test("text fields", async () => {
test("text fields", { timeout: 10_000 }, async () => {
const { user, getByRole, getByTestId } = setup(
<ListComponent {...mockZooProps} />,
);
Expand Down Expand Up @@ -622,7 +622,7 @@ describe("Form validation and error handling", () => {

test(
"an error displays if the minimum number of items is not met",
{ timeout: 20_000 },
{ timeout: 25_000 },
async () => {
const mockWithMinTwo = merge(cloneDeep(mockZooProps), {
schema: { min: 2 },
Expand Down
Loading