{"size": 379, "ext": "js", "max_stars_repo_path": "apps/homescreen/test/unit/mock_moz_settings.js", "max_stars_repo_name": "vingtetun/gaia", "max_stars_repo_stars_event_min_datetime": "2015-02-13T21:32:03.000Z", "max_stars_repo_stars_event_max_datetime": "2015-02-14T06:02:14.000Z", "max_issues_repo_path": "apps/homescreen/test/unit/mock_moz_settings.js", "max_issues_repo_name": "ganesh7/gaia", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "apps/homescreen/test/unit/mock_moz_settings.js", "max_forks_repo_name": "ganesh7/gaia", "max_forks_repo_forks_event_min_datetime": "2021-04-04T13:21:37.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-04T13:21:37.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 17.2272727273, "max_line_length": 46, "alphanum_fraction": 0.6385224274}
'use strict';

var realMozSettings = navigator.mozSettings;

navigator.mozSettings = {
  createLock: function() {
    return {
      set: function(result) {
        navigator.mozSettings.result = result;
      }
    };
  },

  teardown: function() {
    navigator.mozSettings.result = null;
  },

  suiteTeardown: function() {
    navigator.mozSettings = realMozSettings;
  }
};
