git ssb

0+

Piet / ssb-loomio



Tree: e602c7f5b93b901ece225fec5f2fc495eeaed73d

Files: e602c7f5b93b901ece225fec5f2fc495eeaed73d / test / schema / poll.js

383 bytesRaw
1var test = require('tape')
2var {poll, isPoll, response} = require('../..')
3
4test('test', function (t) {
5 t.true(true)
6 t.end()
7})
8
9test('create and validate an invalid chooseOne poll', function (t) {
10 var pollOptions = {type: 'chooseOne'}
11 var myPoll = poll({text: 'how many food', mentions: null, recps: null, channel: null, pollOptions})
12 t.false(isPoll(myPoll))
13 t.end()
14})
15

Built with git-ssb-web