e2e/lib/gqlSdk.ts (view raw)
1import { getSdk } from "../graphql"; 2import { GraphQLClient } from "graphql-request"; 3 4const ENDPOINT = "http://localhost:1337/graphql"; 5 6const graphqlClient = new GraphQLClient(ENDPOINT); 7export const sdk = getSdk(graphqlClient);