Skip to content

Commit 04d4fe4

Browse files
modify test to account for minified
1 parent f1c47ac commit 04d4fe4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/ulabel.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ describe("ULabel Core Functionality", () => {
100100
test("should return resize toolbox item class", () => {
101101
const resize_item_class = ULabel.get_resize_toolbox_item();
102102
expect(typeof resize_item_class).toBe("function");
103-
expect(resize_item_class.name).toBe("AnnotationResizeItem");
103+
// 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");
104107
});
105108
});
106109

0 commit comments

Comments
 (0)