Skip to content

Commit e5161df

Browse files
authored
test(angular-query-experimental): replace deprecated 'toBeCalledWith' with 'toHaveBeenCalledWith' (#10941)
1 parent ee89b90 commit e5161df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/angular-query-experimental/src/__tests__/inject-query.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ describe('injectQuery', () => {
436436

437437
expect(spy).toHaveBeenCalledTimes(2)
438438
// should call queryFn with context containing the new queryKey
439-
expect(spy).toBeCalledWith({
439+
expect(spy).toHaveBeenCalledWith({
440440
client: queryClient,
441441
meta: undefined,
442442
queryKey: key2,

0 commit comments

Comments
 (0)