expect.objectContaining
Also written: expect.stringContaining
A Vitest helper that matches any object with at least the listed properties, such as method: "POST", ignoring the rest.
Also written: expect.stringContaining
A Vitest helper that matches any object with at least the listed properties, such as method: "POST", ignoring the rest.