old_contents: /*
   melonJS initialization
  
   It is important for this block to be executed before any manipulation with graphics-related objects is happening,
   hence make sure to put all code that depends on object pool, inside 'it' or 'beforeAll' blocks for their respective
   'describe' blocks, e. g.:
  
     describe("Shape : me.Font", function () {
       var font;
       beforeAll(function () {
         font = new me.Font("Arial", 8, "white");
       });
  
   */
  
  beforeAll(function (done) {
      console.log("Initializing melonJS");
      me.sys.stopOnAudioError = false;
  
      me.boot();
  
      // Initialize video
      if (!me.video.init(1024, 768, {wrapper: "screen", renderer : me.video.CANVAS})) {
          throw "me.video.init failed";
      }
  
      // dummy stage
      me.state.set(me.state.PLAY, new me.Stage());
      me.state.change(me.state.PLAY);
  
      // Hide the screen
      var scr = document.querySelector("#screen");
      if (scr) {
          scr.style.display = "none";
      }
      done();
  });
  
new_contents: /*
   melonJS initialization
  
   It is important for this block to be executed before any manipulation with graphics-related objects is happening,
   hence make sure to put all code that depends on object pool, inside 'it' or 'beforeAll' blocks for their respective
   'describe' blocks, e. g.:
  
     describe("Shape : me.Font", function () {
       var font;
       beforeAll(function () {
         font = new me.Font("Arial", 8, "white");
       });
  
   */
  
  beforeAll(function (done) {
      console.log("Initializing melonJS");
      me.sys.stopOnAudioError = false;
  
      me.boot();
  
      // Initialize video
      if (!me.video.init(1024, 768, {parent: "screen", renderer : me.video.CANVAS})) {
          throw "me.video.init failed";
      }
  
      // dummy stage
      me.state.set(me.state.PLAY, new me.Stage());
      me.state.change(me.state.PLAY);
  
      // Hide the screen
      var scr = document.querySelector("#screen");
      if (scr) {
          scr.style.display = "none";
      }
      done();
  });
  
subject: fix deprecation warning in the karmat test unit