mirror of https://github.com/calzoneman/sync.git
Fix test
This commit is contained in:
parent
5f799fe1a1
commit
11a0cd79bb
|
@ -232,6 +232,7 @@ describe('Poll', () => {
|
||||||
|
|
||||||
// New code does not store null votes
|
// New code does not store null votes
|
||||||
data.votes = { '5.6.7.8': 1 };
|
data.votes = { '5.6.7.8': 1 };
|
||||||
|
data.retainVotes = false;
|
||||||
assert.deepStrictEqual(poll.toChannelData(), data);
|
assert.deepStrictEqual(poll.toChannelData(), data);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue