Skip to content

Commit

Permalink
fix: use it.failing for nonreactive test case
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Mar 18, 2024
1 parent ccb3a1a commit 46c8eb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/__tests__/ApolloClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
});
Expand Down

0 comments on commit 46c8eb7

Please sign in to comment.