constant_regression_test.js (542B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 /* eslint-env node */ 6 7 module.exports = async function (context, commands) { 8 context.log.info("Starting constant value regression test"); 9 await commands.measure.start("regression-test"); 10 await commands.measure.stop(); 11 await commands.measure.addObject({ 12 data: { metric: context.options.browsertime.constant_value }, 13 }); 14 };