mirror of
https://github.com/codex-team/editor.js
synced 2024-05-17 22:06:49 +02:00
30 lines
837 B
TypeScript
30 lines
837 B
TypeScript
describe('Operation Manager', () => {
|
|
describe('Local changes', () => {
|
|
it('should put new operation to the Pending OPs until sending to the server', () => {
|
|
console.log('todo');
|
|
});
|
|
|
|
it('should remove operation from the Pending OPs after sending to the server', () => {
|
|
console.log('todo');
|
|
});
|
|
|
|
it('should put received operation with acknowledgement to the Resolved OPs', () => {
|
|
console.log('todo');
|
|
});
|
|
});
|
|
|
|
describe('Received changes', () => {
|
|
it('should transform Pending OPs relative to the received operation', () => {
|
|
console.log('todo');
|
|
});
|
|
|
|
it('should put received operation to the private Event Bus', () => {
|
|
console.log('todo');
|
|
});
|
|
|
|
it('should put received operation to the Resolved OPs', () => {
|
|
console.log('todo');
|
|
});
|
|
});
|
|
});
|