Created
March 21, 2018 23:18
-
-
Save hackergrrl/52202ed22d7e88149a3dd7a3ed4af8ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tape('unauthorized writer doing a put after replication', function (t) { | |
t.plan(1) | |
var a = create.one() | |
a.ready(function () { | |
var b = create.one(a.key) | |
b.ready(function () { | |
replicate(a, b, function () { | |
b.put('foo', 'bar', function (err) { | |
t.error(err) | |
}) | |
}) | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment