Skip to content

Commit 14e4b0c

Browse files
committed
Fix jest
1 parent b2f1a61 commit 14e4b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/batch-delegate/tests/errorPaths.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ describe('preserves error path indices', () => {
126126
document: parse(query),
127127
});
128128

129-
expect(getProperty).toBeCalledTimes(2);
129+
expect(getProperty).toHaveBeenCalledTimes(2);
130130
expect(result).toMatchObject(expected);
131131
});
132132

@@ -156,7 +156,7 @@ describe('preserves error path indices', () => {
156156
document: parse(query),
157157
});
158158

159-
expect(getProperty).toBeCalledTimes(1);
159+
expect(getProperty).toHaveBeenCalledTimes(1);
160160
expect(result).toMatchObject(expected);
161161
});
162162
});

0 commit comments

Comments
 (0)