git ssb

0+

Piet / ssb-loomio



Commit 6360e70f9c420261c04295d55bd6181e31a333fb

Closes server when test complete

Piet Geursen committed on 4/11/2018, 2:44:12 AM
Parent: b792992e79b3b28771b347e53432ec76daa47ee5

Files changed

test/position/async/buildChooseOne.test.jschanged
test/position/async/buildChooseOne.test.jsView
@@ -8,8 +8,10 @@
88
99 const publishChooseOne = require('../../../poll/async/publishChooseOne')(server)
1010 const ChooseOne = require('../../../position/async/buildChooseOne')(server)
1111
12+test.onFinish(() => server.close())
13+
1214 test('position.async.buildChooseOne', function (t) {
1315 t.plan(5)
1416
1517 const pollOpts = {title: 'are you reading this', choices: ['yes', 'no'], closesAt: new Date().toISOString()}

Built with git-ssb-web