test: fix failing tests and API (#5823)

* tests: fix failing tests

* fix selection.test.tsx

* fix excalidraw.test.tsx and don't show image export when SaveAsImage is false in UIOptions.canvasActions

* more fixes

* require fake index db in setUp test to fix the tests

* fix regression
This commit is contained in:
Aakansha Doshi 2022-11-04 18:22:21 +05:30 committed by GitHub
parent 8d5d68e589
commit 25ea97d0f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 1798 additions and 300 deletions

View file

@ -10,6 +10,7 @@ const toolMap = {
line: "line",
freedraw: "freedraw",
text: "text",
eraser: "eraser",
};
export type ToolName = keyof typeof toolMap;