get the unit tests to pass

This commit is contained in:
spalger
2016-05-19 09:09:31 -07:00
parent 38cf442acc
commit c7f6c09d8c
31 changed files with 67 additions and 75 deletions

View File

@ -1,12 +1,11 @@
describe('Round Robin Selector', function () {
var selector = require('../../../src/lib/selectors/round_robin');
var _ = require('lodash-migrate');
var _v4 = require('lodash-migrate/lodash');
var expect = require('expect.js');
it('chooses options in order', function () {
var options = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0];
var expected = _.clone(options);
var expected = _v4.clone(options);
var selections = [];
_v4.times(options.length, function () {