Skip to content

Commit b881a38

Browse files
Fix expected value in tests
1 parent 6db59a8 commit b881a38

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

extensions/ql-vscode/src/view/model-editor/__tests__/MethodRow.spec.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ describe(MethodRow.name, () => {
8585
);
8686

8787
expect(onChange).toHaveBeenCalledTimes(1);
88-
expect(onChange).toHaveBeenCalledWith({
89-
...modeledMethod,
90-
kind: "value",
91-
});
88+
expect(onChange).toHaveBeenCalledWith(method.signature, [
89+
{
90+
...modeledMethod,
91+
kind: "value",
92+
},
93+
]);
9294
});
9395

9496
it("has the correct input options", () => {

0 commit comments

Comments
 (0)