Tests no-unused-vars
This commit is contained in:
@ -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 () {
|
||||
|
Reference in New Issue
Block a user