Skip to content

Commit

Permalink
Add additional test check
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Nov 8, 2024
1 parent 424cb51 commit 13b89b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/__tests__/masking.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2268,6 +2268,12 @@ describe("maskFragment", () => {
"UnmaskedFragment"
);

data.__typename;
data.id;
data.name;

expect(console.warn).not.toHaveBeenCalled();

data.age;

expect(console.warn).toHaveBeenCalledTimes(1);
Expand Down

0 comments on commit 13b89b6

Please sign in to comment.