Tests no-unused-vars

This commit is contained in:
Amine Ben hammou
2017-09-26 13:05:02 +00:00
parent 69c540288b
commit 98a3c6b156
4 changed files with 4 additions and 13 deletions

View File

@ -294,14 +294,8 @@ define([
describe('replaceAllButtonStyles', function () {
var model;
var view;
var module;
var onStub;
before(function() {
module = AutomatedLatestContentBlock;
});
beforeEach(function () {
onStub = sinon.stub();
global.stubChannel(EditorApplication, {on: onStub});
@ -309,7 +303,6 @@ define([
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.Model);
EditorApplication.getBlockTypeView = sinon.stub().returns(Backbone.View);
model = {set: sinon.stub()};
view = new (module.AutomatedLatestContentBlockView)({model: model});
});
it('listens to the event', function () {