Skip to content
Merged
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
7 changes: 7 additions & 0 deletions src/components/update-dialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ import type { LatestRelease } from '@/lib/updates';
import { fireEvent, render } from '@testing-library/react-native';
import { UpdateDialog } from './update-dialog';

// The Modal tree flushes asynchronously through act(); on slow CI runners
// (2-core GitHub hosted machines, suites running in parallel) that can push
// a test past jest's default 5s timeout even though nothing is wrong — that
// is exactly how the first post-merge CI run failed while the PR run, local
// runs and every retry since have been green. Give this file headroom.
jest.setTimeout(15000);

const release: LatestRelease = {
version: '0.3.0',
releaseUrl: 'https://github.com/ghostcoder42/hanime1/releases/tag/v0.3.0',
Expand Down