Skip to content

Instantly share code, notes, and snippets.

@hackergrrl
Created March 21, 2018 23:18
Show Gist options
  • Save hackergrrl/52202ed22d7e88149a3dd7a3ed4af8ad to your computer and use it in GitHub Desktop.
Save hackergrrl/52202ed22d7e88149a3dd7a3ed4af8ad to your computer and use it in GitHub Desktop.
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