Tests one-var

This commit is contained in:
Amine Ben hammou
2017-09-26 12:57:13 +00:00
parent 651c9f5692
commit 69c540288b
19 changed files with 187 additions and 158 deletions

View File

@ -173,7 +173,8 @@ define([
});
describe('once rendered', function () {
var model, view;
var model;
var view;
before(function () {
global.stubChannel(EditorApplication);
@ -264,8 +265,9 @@ define([
});
describe('replaceAllButtonStyles', function () {
var model, view, onStub;
var model;
var view;
var onStub;
beforeEach(function () {
onStub = sinon.stub();
@ -317,7 +319,8 @@ define([
});
describe('once rendered', function () {
var model, view;
var model;
var view;
before(function() {
global.stubChannel(EditorApplication);
global.stubConfig(EditorApplication);