MCPcopy
hub / github.com/yjs/yjs / testConcurrentInsertWithThreeConflicts

Function testConcurrentInsertWithThreeConflicts

tests/y-array.tests.js:174–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 * @param {t.TestCase} tc
173 */
174export const testConcurrentInsertWithThreeConflicts = tc => {
175 const { users, array0, array1, array2 } = init(tc, { users: 3 })
176 array0.insert(0, [0])
177 array1.insert(0, [1])
178 array2.insert(0, [2])
179 compare(users)
180}
181
182/**
183 * @param {t.TestCase} tc

Callers

nothing calls this directly

Calls 3

initFunction · 0.90
compareFunction · 0.90
insertMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…