Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eddeee888 committed Nov 22, 2024
1 parent fb4c4a5 commit 6c72afb
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions packages/presets/client/tests/client-preset.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2794,29 +2794,18 @@ export * from "./gql.js";`);
Int: { input: number; output: number; }
Float: { input: number; output: number; }
};
export const Color = {
Blue: 'BLUE',
Red: 'RED'
} as const;
export type Color = typeof Color[keyof typeof Color];
export type Query = {
__typename?: 'Query';
thing?: Maybe<Thing>;
};
export type Thing = {
__typename?: 'Thing';
color: Color;
};
export type FavoriteColorQueryVariables = Exact<{ [key: string]: never; }>;
export type FavoriteColorQuery = { __typename?: 'Query', thing?: { __typename?: 'Thing', color: Color } | null };
export const FavoriteColorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FavoriteColor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"thing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}}]}}]}}]} as unknown as DocumentNode<FavoriteColorQuery, FavoriteColorQueryVariables>;
`);
});
Expand Down

0 comments on commit 6c72afb

Please sign in to comment.