Commit 4360b02f347aa3bea29d3e95dda409fe21bc3c45
Remove console.log in test
Piet Geursen committed on 3/8/2018, 3:29:53 AMParent: a12ac40b656901d5dcfd3cf302343421e77045b0
Files changed
test/poll/async/get.test.js | changed |
test/poll/async/get.test.js | ||
---|---|---|
@@ -39,9 +39,9 @@ | ||
39 | 39 … | function onDone () { |
40 | 40 … | getPoll(server)(poll.key, (err, data) => { |
41 | 41 … | if (err) throw err |
42 | 42 … | |
43 | - print(data) | |
43 … | + // print(data) | |
44 | 44 … | t.equal(data.key, poll.key, 'has key') |
45 | 45 … | t.deepEqual(data.value, poll.value, 'has value') |
46 | 46 … | |
47 | 47 … | t.equal(data.author, poll.value.author, 'has author') |
@@ -49,11 +49,11 @@ | ||
49 | 49 … | |
50 | 50 … | t.equal(data.positions.length, 2, 'has positions') |
51 | 51 … | |
52 | 52 … | t.deepEqual(data.results, { |
53 | - 1: [katie.id], // TODO update this data structure | |
53 … | + 1: [katie.id], // TODO update this data structure | |
54 | 54 … | 2: [piet.id], |
55 | - errors: [] // TODO prune this later | |
55 … | + errors: [] // TODO prune this later | |
56 | 56 … | }, 'has results!') |
57 | 57 … | |
58 | 58 … | server.close() |
59 | 59 … | t.end() |
Built with git-ssb-web