Fix expected value in tests

This commit is contained in:
Robert
2023-10-11 15:03:11 +01:00
parent 6db59a84a2
commit b881a38703

View File

@@ -85,10 +85,12 @@ describe(MethodRow.name, () => {
);
expect(onChange).toHaveBeenCalledTimes(1);
expect(onChange).toHaveBeenCalledWith({
...modeledMethod,
kind: "value",
});
expect(onChange).toHaveBeenCalledWith(method.signature, [
{
...modeledMethod,
kind: "value",
},
]);
});
it("has the correct input options", () => {