send-vote.spec.js 547 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright 2018 Scytl Secure Electronic Voting SA
  3. *
  4. * All rights reserved
  5. *
  6. * See our extended copyright notice in *file 'Copyright.txt' which is part of this source code package
  7. */
  8. /* global _ */
  9. /* global OV */
  10. describe('Send vote', function () {
  11. 'use strict';
  12. var response = require('../parsers/mocks/ballot_with_writeins.json');
  13. it('send a vote', function () {
  14. expect(OV).toBeDefined();
  15. expect(response).toBeDefined();
  16. var ballot = OV.BallotParser.parseBallot(response.ballot);
  17. });
  18. });