From 46c8eb70de93ab4eaa6d33a22402007908520c5b Mon Sep 17 00:00:00 2001 From: Alessia Bellisario Date: Mon, 18 Mar 2024 14:18:05 -0400 Subject: [PATCH] fix: use it.failing for nonreactive test case --- src/__tests__/ApolloClient.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/__tests__/ApolloClient.ts b/src/__tests__/ApolloClient.ts index e0e35233a01..67ce0002714 100644 --- a/src/__tests__/ApolloClient.ts +++ b/src/__tests__/ApolloClient.ts @@ -2363,7 +2363,9 @@ describe("ApolloClient", () => { expect.any(Error) ); }); - it("does not support the @nonreactive directive", async () => { + // The @nonreactive directive can only be used on fields or fragment + // spreads in queries, and currently has no effect here + it.failing("does not support the @nonreactive directive", async () => { const cache = new InMemoryCache(); const client = new ApolloClient({ cache, @@ -2421,9 +2423,7 @@ describe("ApolloClient", () => { data: { __typename: "Item", id: 5, - // The @nonreactive directive can only be used on fields or fragment - // spreads in queries, and has no effect here - text: "Item #5 (edited)", + text: "Item #5", }, complete: true, });