mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-21 00:10:33 +02:00
do not include constraints in tests
This commit is contained in:
@@ -1015,7 +1015,7 @@ const ExcalidrawWrapper = () => {
|
||||
lockZoom: false,
|
||||
viewportZoomFactor: 0.7,
|
||||
overscrollAllowance: 0.5,
|
||||
enabled: true,
|
||||
enabled: !isTestEnv(),
|
||||
...storedConstraints,
|
||||
};
|
||||
});
|
||||
@@ -1153,7 +1153,7 @@ const ExcalidrawWrapper = () => {
|
||||
}
|
||||
}}
|
||||
>
|
||||
{excalidrawAPI && (
|
||||
{excalidrawAPI && !isTestEnv() && (
|
||||
<ConstraintsSettings
|
||||
excalidrawAPI={excalidrawAPI}
|
||||
initialConstraints={constraints}
|
||||
|
Reference in New Issue
Block a user