old_contents: Module.preRun = [
    function () 
    {
      FS.mkdir('/test');
      FS.mount(NODEFS, { root: '../../Test/test' }, '/test');
  
      FS.mkdir('/resources');
      FS.mount(NODEFS, { root: './resources' }, '/resources');
  
      //
      // Mock Implementations 
      //
      global.navigator = {
        getGamepads: function() {
          return [];
        }
      }
      
      global.Module = {
        canvas: {
          style: {}
        }
      }
    }
  ]
  
new_contents: Module.preRun = [
    function () 
    {
      FS.mkdir('/test');
      FS.mount(NODEFS, { root: '../../Test/test' }, '/test');
  
      FS.mkdir('/resources');
      FS.mount(NODEFS, { root: './resources' }, '/resources');
  
      //
      // Mock Implementations 
      //
      global.navigator = {
        getGamepads: function() {
          return [];
        }
      }
      
      Module.canvas = {
        style: {}
      }
    }
  ]
  
subject: fix mock