git ssb

0+

Piet / ssb-loomio



Commit 4360b02f347aa3bea29d3e95dda409fe21bc3c45

Remove console.log in test

Piet Geursen committed on 3/8/2018, 3:29:53 AM
Parent: a12ac40b656901d5dcfd3cf302343421e77045b0

Files changed

test/poll/async/get.test.jschanged
test/poll/async/get.test.jsView
@@ -39,9 +39,9 @@
3939 function onDone () {
4040 getPoll(server)(poll.key, (err, data) => {
4141 if (err) throw err
4242
43- print(data)
43 + // print(data)
4444 t.equal(data.key, poll.key, 'has key')
4545 t.deepEqual(data.value, poll.value, 'has value')
4646
4747 t.equal(data.author, poll.value.author, 'has author')
@@ -49,11 +49,11 @@
4949
5050 t.equal(data.positions.length, 2, 'has positions')
5151
5252 t.deepEqual(data.results, {
53- 1: [katie.id], // TODO update this data structure
53 + 1: [katie.id], // TODO update this data structure
5454 2: [piet.id],
55- errors: [] // TODO prune this later
55 + errors: [] // TODO prune this later
5656 }, 'has results!')
5757
5858 server.close()
5959 t.end()

Built with git-ssb-web