Change gql tag in cypress.

This commit is contained in:
elweyn 2023-02-28 13:14:18 +01:00
parent e93832ab98
commit 71820a94f5
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { Given } from "cypress-cucumber-preprocessor/steps";
import { gql } from '../../../backend/src/helpers/jest'
import gql from 'graphql-tag'
Given('somebody reported the following posts:', table => {
table.hashes().forEach(({ submitterEmail, resourceId, reasonCategory, reasonDescription }) => {

View File

@ -15,7 +15,7 @@
/* globals Cypress cy */
import "cypress-file-upload";
import { GraphQLClient, request } from 'graphql-request'
import { gql } from '../../backend/src/helpers/jest'
import gql from 'graphql-tag'
import config from '../../backend/src/config'
const authenticatedHeaders = (variables) => {