Skip to content

Commit

Permalink
Use better type to test against
Browse files Browse the repository at this point in the history
Co-authored-by: Lenz Weber-Tronic <[email protected]>
  • Loading branch information
jerelmiller and phryneas authored Dec 11, 2024
1 parent 1549ee0 commit b80145d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/masking/__benches__/types.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ test("base type, multiple fragments on sub-types", (prefix) => {
test("does not detect `$fragmentRefs` if type contains `any`", (prefix) => {
interface Source {
foo: { bar: any[] };
" $fragmentName": "foo";
}

bench(prefix + "instantiations", () => {
Expand Down

0 comments on commit b80145d

Please sign in to comment.