mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
tests: Add tests for wrapText util (#4495)
This commit is contained in:
parent
63ce5b82d7
commit
38236bc5e0
3 changed files with 149 additions and 1 deletions
|
@ -458,3 +458,5 @@ export const arrayToMap = <T extends { id: string } | string>(
|
|||
return acc;
|
||||
}, new Map());
|
||||
};
|
||||
|
||||
export const isTestEnv = () => process?.env?.NODE_ENV === "test";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue