git ssb

0+

Piet / ssb-loomio



Tree: 8818456f68cdf8d623639cc4bc69b81a61f90869

Files: 8818456f68cdf8d623639cc4bc69b81a61f90869 / 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