Skip to content

Commit 524a059

Browse files
Nico Robinfacebook-github-bot
Nico Robin
authored andcommitted
Export MockResolverContext type on relay test utils
Summary: We are exporting `MockResolverContext` so that the type can be used explicitly in test utilities and make it easier to reuse testing logic . Differential Revision: D67139589 fbshipit-source-id: ca48764b2665cb4a6579f539504ddc187e765ddd
1 parent 6186a7d commit 524a059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎packages/relay-test-utils/RelayMockPayloadGenerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type Traversable = {
7171
+args: ?{[string]: mixed, ...},
7272
};
7373
type MockData = {[string]: mixed, ...};
74-
type MockResolverContext = {
74+
export type MockResolverContext = {
7575
+parentType: ?string,
7676
+name: ?string,
7777
+alias: ?string,

0 commit comments

Comments
 (0)