Skip to content

Use ApolloTestSupport with Fragment #3604

@Karram-Ayman

Description

@Karram-Ayman

Question

Hey Team,

I’ve integrated ApolloTestSupport v1.24.0, and as expected, we can use Mock<ApolloAPI.Object>.
However, I couldn’t find a way to use Mock<SelectionSet, Fragment>, even though our project relies heavily on fragments.

I’m wondering — is there a way to mock a fragment directly, for example using Mock?

Thanks!

Metadata

Metadata

Assignees

Labels

questionIssues that have a question which should be addressed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions