From a52426eda5d7f0ef70f0ef1502f4f8beb167111a Mon Sep 17 00:00:00 2001 From: Dawid Kisielewski Date: Tue, 10 Oct 2023 18:27:39 +0200 Subject: [PATCH] Fix tests --- test/client/doc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/client/doc.js b/test/client/doc.js index 36ff9796d..e5424d1ac 100644 --- a/test/client/doc.js +++ b/test/client/doc.js @@ -542,7 +542,7 @@ describe('Doc', function() { }; } - doc.on('error', expectError('FETCH_ERROR')); + doc.on('error', expectError('ERR_HARD_ROLLBACK_FETCH_FAILED')); doc.submitOp(nonInvertibleOp, expectError('SUBMIT_ERROR')); } ], done);