mirror of
https://github.com/codex-team/editor.js
synced 2024-05-17 22:06:49 +02:00
42 lines
1.3 KiB
TypeScript
42 lines
1.3 KiB
TypeScript
describe('Transformer', () => {
|
|
describe('Block Indices', () => {
|
|
it('should not transform the first Operation which index is less than index of the second Operation', () => {
|
|
console.log('todo');
|
|
});
|
|
|
|
it('should transform the first Operation which index is more than index of the second Operation', () => {
|
|
console.log('todo');
|
|
});
|
|
});
|
|
|
|
describe('Symbol Indices', () => {
|
|
it('should not transform the first Operation which index is less than index of the second Operation', () => {
|
|
console.log('todo');
|
|
});
|
|
|
|
it('should transform the first Operation which index is more than index of the second Operation', () => {
|
|
console.log('todo');
|
|
});
|
|
});
|
|
|
|
describe('Mixed Indices', () => {
|
|
it('should not transform the first Operation which block index is less than block index of the second Operation', () => {
|
|
console.log('todo');
|
|
});
|
|
|
|
it('should transform the first Operation which block index is more than block index of the second Operation', () => {
|
|
console.log('todo');
|
|
});
|
|
});
|
|
|
|
describe('Inverting Operation', () => {
|
|
it('should invert INSERT Operation to DELETE Operation', () => {
|
|
console.log('todo');
|
|
});
|
|
|
|
it('should invert DELETE Operation to INSERT Operation', () => {
|
|
console.log('todo');
|
|
});
|
|
});
|
|
});
|