mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 04:41:39 +00:00
Merge pull request #16660 from overleaf/mj-edit-operation-fix
[overleaf-editor-core] Fix typo in text operation tests GitOrigin-RevId: a7ee6ce55cd0c6b4304990de2e6fa76f5406e663
This commit is contained in:
parent
c5a902656d
commit
05bec77b74
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
// @ts-check
|
||||
//
|
||||
// These tests are based on the OT.js tests:
|
||||
// https://github.com/Operational-Transformation/ot.js/blob/
|
||||
|
@ -123,7 +124,7 @@ describe('TextOperation', function () {
|
|||
const ops2 = ops.slice(0)
|
||||
fn(ops2)
|
||||
expect(() => {
|
||||
TextOperation.fromJSON({ textOperations: ops2 })
|
||||
TextOperation.fromJSON({ textOperation: ops2 })
|
||||
}).to.throw
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue