"use strict";

var _constants = require("@instructure/quiz-common/lib/constants");

var _regrading = require("../regrading");

describe('setScoreReconciliation', function () {
  it('returns correct action', function () {
    var scoreReconciliation = 'new_score';
    var setScoreReconciliationAction = (0, _regrading.setScoreReconciliation)(scoreReconciliation);
    expect(setScoreReconciliationAction.type).to.be.equal(_constants.REGRADE_SET_SCORE_RECONCILIATION);
    expect(setScoreReconciliationAction.payload).to.be.equal(scoreReconciliation);
  });
});