We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f87b1c4 commit 5ba64a1Copy full SHA for 5ba64a1
1 file changed
extensions/ql-vscode/src/view/model-editor/__tests__/MethodRow.spec.tsx
@@ -64,6 +64,14 @@ describe(MethodRow.name, () => {
64
expect(screen.queryByLabelText("Loading")).not.toBeInTheDocument();
65
});
66
67
+ it("renders when there is no modeled method", () => {
68
+ render({ modeledMethods: [] });
69
+
70
+ expect(screen.queryAllByRole("combobox")).toHaveLength(4);
71
+ expect(screen.getByLabelText("Method not modeled")).toBeInTheDocument();
72
+ expect(screen.queryByLabelText("Loading")).not.toBeInTheDocument();
73
+ });
74
75
it("can change the kind", async () => {
76
render();
77
0 commit comments