diff --git a/package.json b/package.json index 66680cca0..9bcf04c0e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "prebuild.dev": "node ./tools/licenses/fetchLicenses.js", "prebuild.prod": "node ./tools/licenses/fetchLicenses.js", "prebuild.watch": "node ./tools/licenses/fetchLicenses.js", - "test.unit": "BABEL_ENV=test jest", + "test.unit": "cross-env BABEL_ENV=test jest", "lint": "eslint --ext .js,.jsx ./app ./src", "lint.fix": "eslint --ext .js,.jsx ./app ./src --fix", "lint.raw": "eslint --ext .js,.jsx", diff --git a/src/background.js b/src/background.js index 8253ff887..2c970c636 100644 --- a/src/background.js +++ b/src/background.js @@ -1226,6 +1226,8 @@ function initializeGhosteryModules() { conf.version_history = version_history; metrics.ping('upgrade'); + // We don't want install_complete pings for upgrade + conf.metrics.install_complete_all = Number(new Date().getTime()); } else if (globals.JUST_INSTALLED) { log('JUST INSTALLED'); const date = new Date();