mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-10 02:49:57 +02:00
tests: Add tests for wrapText util (#4495)
This commit is contained in:
@@ -458,3 +458,5 @@ export const arrayToMap = <T extends { id: string } | string>(
|
||||
return acc;
|
||||
}, new Map());
|
||||
};
|
||||
|
||||
export const isTestEnv = () => process?.env?.NODE_ENV === "test";
|
||||
|
Reference in New Issue
Block a user