Skip to content

Commit

Permalink
Pend unstitched concection tests
Browse files Browse the repository at this point in the history
  • Loading branch information
damassi committed Mar 6, 2020
1 parent 2e29390 commit 88cf857
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import { runAuthenticatedQuery } from "schema/v1/test/utils"
import gql from "lib/gql"

describe("addAssetToConsignmentSubmission", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("addAssetToConsignmentSubmission", () => {
it("creates a submission and returns its new data payload", () => {
const mutation = gql`
mutation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { config as createSubmissionMutation } from "schema/v1/me/consignments/cr

import gql from "lib/gql"

describe("UpdateSubmissionMutation", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("UpdateSubmissionMutation", () => {
it("does not include the id param", () => {
const mutation = createSubmissionMutation
expect(Object.keys(mutation.inputFields)).not.toContain("id")
Expand Down
3 changes: 2 additions & 1 deletion src/schema/v1/me/__tests__/consignments/submissions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import { runAuthenticatedQuery } from "schema/v1/test/utils"
import gql from "lib/gql"

describe("submissions", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("submissions", () => {
it("asks for a user's submissions", () => {
const mutation = gql`
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { runAuthenticatedQuery } from "schema/v1/test/utils"
import { config as updateSubmissionMutation } from "schema/v1/me/consignments/update_submission_mutation"
import gql from "lib/gql"

describe("UpdateSubmissionMutation", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("UpdateSubmissionMutation", () => {
it("includes the id param", () => {
const mutation = updateSubmissionMutation
expect(Object.keys(mutation.inputFields)).toContain("id")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* eslint-disable promise/always-return */
import { runAuthenticatedQuery } from "schema/v2/test/utils"

describe("addAssetToConsignmentSubmission", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("addAssetToConsignmentSubmission", () => {
it("creates a submission and returns its new data payload", async () => {
const mutation = `
mutation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import { runAuthenticatedQuery } from "schema/v2/test/utils"
import gql from "lib/gql"

describe("CreateGeminiEntryForAsset", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("CreateGeminiEntryForAsset", () => {
it("creates a submission and returns its new data payload", () => {
const mutation = gql`
mutation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import { runAuthenticatedQuery } from "schema/v2/test/utils"
import gql from "lib/gql"

describe("addAssetToConsignmentSubmission", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("addAssetToConsignmentSubmission", () => {
it("creates a submission and returns its new data payload", () => {
const mutation = gql`
mutation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { config as createSubmissionMutation } from "schema/v2/me/consignments/cr

import gql from "lib/gql"

describe("UpdateSubmissionMutation", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("UpdateSubmissionMutation", () => {
it("does not include the id param", () => {
const mutation = createSubmissionMutation
expect(Object.keys(mutation.inputFields)).not.toContain("id")
Expand Down
3 changes: 2 additions & 1 deletion src/schema/v2/me/__tests__/consignments/submissions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import { runAuthenticatedQuery } from "schema/v2/test/utils"
import gql from "lib/gql"

describe("submissions", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("submissions", () => {
it("asks for a user's submissions", async () => {
const mutation = gql`
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { runAuthenticatedQuery } from "schema/v2/test/utils"
import { config as updateSubmissionMutation } from "schema/v2/me/consignments/update_submission_mutation"
import gql from "lib/gql"

describe("UpdateSubmissionMutation", () => {
// FIXME: We're now stitching. Remove these files once this work settles
xdescribe("UpdateSubmissionMutation", () => {
it("includes the id param", () => {
const mutation = updateSubmissionMutation
expect(Object.keys(mutation.inputFields)).toContain("id")
Expand Down

0 comments on commit 88cf857

Please sign in to comment.