Skip to content

Commit 2b67fa6

Browse files
committed
fix test
1 parent d10ee4a commit 2b67fa6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/utils/tests/errors.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ describe('Errors', () => {
1818
fieldName: 'id',
1919
parentType: { name: 'Test' },
2020
});
21+
22+
expect(newError.path).toEqual(['test', 1, 'id']);
23+
2124
if (versionInfo.major >= 16) {
2225
expect(getSchemaCoordinate(newError)).toEqual('Test.id');
2326
}

0 commit comments

Comments
 (0)