use eslint autofix to start fixing violations

This commit is contained in:
spalger
2017-06-14 18:48:24 -07:00
parent da8e558817
commit 3d75c6ff0f
97 changed files with 1281 additions and 1280 deletions

View File

@ -1,12 +1,12 @@
describe('Round Robin Selector', function () {
var selector = require('../../../src/lib/selectors/round_robin');
var _ = require('lodash');
var expect = require('expect.js');
const selector = require('../../../src/lib/selectors/round_robin');
const _ = require('lodash');
const 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 selections = [];
const options = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0];
const expected = _.clone(options);
const selections = [];
_.times(options.length, function () {
selections.push(selector(options));