This commit is contained in:
Daniel J. Geiger
2022-11-09 07:54:49 -06:00
parent dc97dc30bf
commit 0bef3945f6
2 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -933,7 +933,7 @@ describe("textWysiwyg", () => {
await new Promise((cb) => setTimeout(cb, 0));
editor.blur();
expect(rectangle.width).toBe(110);
expect(rectangle.width).toBe(100);
expect(rectangle.height).toBe(210);
const textElement = h.elements[1] as ExcalidrawTextElement;
expect(textElement.text).toBe(wrappedText);