From f10c239383f22dc9dbce8a14ffebdd39805492e6 Mon Sep 17 00:00:00 2001 From: Per-Kristian Nordnes Date: Fri, 27 Oct 2023 01:18:26 +0200 Subject: [PATCH] test(portable-text-editor): adjust timings --- .../portable-text-editor/src/editor/components/Synchronizer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@sanity/portable-text-editor/src/editor/components/Synchronizer.tsx b/packages/@sanity/portable-text-editor/src/editor/components/Synchronizer.tsx index 3ced445d8609..11df6dda72b5 100644 --- a/packages/@sanity/portable-text-editor/src/editor/components/Synchronizer.tsx +++ b/packages/@sanity/portable-text-editor/src/editor/components/Synchronizer.tsx @@ -28,7 +28,7 @@ const debugVerbose = debug.enabled && false // The editor will commit changes in a throttled fashion in order // not to overload the network and degrade performance while typing. -const FLUSH_PATCHES_THROTTLED_MS = process.env.NODE_ENV === 'test' ? 100 : 1000 +const FLUSH_PATCHES_THROTTLED_MS = process.env.NODE_ENV === 'test' ? 200 : 1000 /** * @internal