Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #11275 from sprintr/fix-unittests
Browse files Browse the repository at this point in the history
Fix unittests
  • Loading branch information
abose committed Jun 16, 2015
2 parents 0cfcf9e + 2d3ad4a commit 0303dc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/StatusBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ define(function (require, exports, module) {
* @param {string=} tooltip Sets the attribute "title" of the indicator.
*/
function updateIndicator(id, visible, style, tooltip) {
if (!_init) {
if (!_init && !!brackets.test) {
console.error("StatusBar API invoked before status bar created");
return;
}
Expand Down
1 change: 1 addition & 0 deletions test/SpecRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ define(function (require, exports, module) {
NativeApp = require("utils/NativeApp");

// Load modules for later use
require("language/CodeInspection");
require("thirdparty/lodash");
require("editor/CodeHintManager");
require("utils/Global");
Expand Down

0 comments on commit 0303dc5

Please sign in to comment.