We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1c47ac commit 04d4fe4Copy full SHA for 04d4fe4
1 file changed
tests/ulabel.test.js
@@ -100,7 +100,10 @@ describe("ULabel Core Functionality", () => {
100
test("should return resize toolbox item class", () => {
101
const resize_item_class = ULabel.get_resize_toolbox_item();
102
expect(typeof resize_item_class).toBe("function");
103
- expect(resize_item_class.name).toBe("AnnotationResizeItem");
+ // Verify class methods
104
+ expect(typeof resize_item_class.update_annotation_size).toBe("function");
105
+ expect(typeof resize_item_class.update_subtask_line_size).toBe("function");
106
+ expect(typeof resize_item_class.toggle_subtask_vanished).toBe("function");
107
});
108
109
0 commit comments