feat: replaces fontSize and fontFamily text with icons (#2857)
Co-authored-by: Hitesh Goyal <hiteshlyearn@Hiteshs-MacBook-Pro.local> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@ -607,7 +607,7 @@ describe("regression tests", () => {
|
||||
it("updates fontSize & fontFamily appState", () => {
|
||||
UI.clickTool("text");
|
||||
expect(h.state.currentItemFontFamily).toEqual(1); // Virgil
|
||||
fireEvent.click(screen.getByText(/code/i));
|
||||
fireEvent.click(screen.getByTitle(/code/i));
|
||||
expect(h.state.currentItemFontFamily).toEqual(3); // Cascadia
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user