Skip to content
Snippets Groups Projects
Commit dae0f71c authored by Kevin Jahns's avatar Kevin Jahns
Browse files

fixed another test

parent 81c601c6
No related branches found
No related tags found
No related merge requests found
......@@ -20,12 +20,11 @@ describe('Memory', function () {
expect(ds.toDeleteSet()).toBeTruthy({'u1': [10, 2]})
})
it('Creates operations', function () {
ds.add({id: ['5', 3], len: 2})
var dels = ds.getDeletions({5: [[4, 1]]})
expect(dels.length === 1).toBeTruthy()
expect(dels[0]).toEqual({
struct: 'Delete',
target: ['5', 3]
target: ['5', 4]
})
})
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment