Could this be changed to use more of jest api instead of relying on jest internals:  ```js  expect(createNode).toBeCalledWith(    expect.objectContaining({      internal: expect.objectContaining({        type: expectedOne      })    })  )  ```