Skip to content

Force @MainActor for tests#21

Merged
tahirmt merged 1 commit intomainfrom
force-main-actor
Apr 16, 2025
Merged

Force @MainActor for tests#21
tahirmt merged 1 commit intomainfrom
force-main-actor

Conversation

@tahirmt
Copy link
Copy Markdown
Owner

@tahirmt tahirmt commented Apr 16, 2025

SnapshotTesting does not support recording snapshots on anything but the main actor so enforcing the @MainActor requirement so that all AsyncSpec force people to use @MainActor and QuickSpec just works as is.

@tahirmt tahirmt merged commit ec3b63b into main Apr 16, 2025
1 check passed
@tahirmt tahirmt deleted the force-main-actor branch April 16, 2025 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant