Skip to content

Commit

Permalink
test: ensure that we correctly access deeply nested null value
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Nov 11, 2021
1 parent 4ffdb66 commit ccdb663
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/liqe/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type Location = {
};

type Person = {
attributes?: Record<string, string | null>,
balance?: number,
email?: string,
height: number,
Expand Down Expand Up @@ -47,6 +48,9 @@ const persons: readonly Person[] = [
],
},
{
attributes: {
member: null,
},
balance: 6_364_917,
email: 'noah@john.com',
height: 225,
Expand Down

0 comments on commit ccdb663

Please sign in to comment.