Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "gulf", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "transport-agnostic operational transformation control layer", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -180,3 +180,4 @@ /* global xdescribe, describe, it, xit */ | ||
expect(docA.content).to.eql(contentA) | ||
expect(contentB).to.eql(contentB) | ||
expect(docB.content).to.eql(contentA) | ||
expect(contentB).to.eql(contentA) | ||
cb() | ||
@@ -187,2 +188,7 @@ }, 20) | ||
it('should correctly propagate edits from one end to the other end', function(cb) { | ||
linkA.unpipe() | ||
linkB.unpipe() | ||
masterDoc.links[0].unpipe() | ||
masterDoc.links[1].unpipe() | ||
contentA = 'abcd1' | ||
@@ -194,2 +200,5 @@ docA.update([4, '1']) | ||
linkA.pipe(masterDoc.slaveLink()).pipe(linkA) | ||
linkB.pipe(masterDoc.slaveLink()).pipe(linkB) | ||
setTimeout(function() { | ||
@@ -196,0 +205,0 @@ expect(contentB).to.eql(contentA) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73766
933