From 8077c3d7f209ecb78785e9a81d6897efe52b49f1 Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Mon, 22 Apr 2024 13:27:20 +0200 Subject: [PATCH] fix: compare delta vs main instead of main vs main --- tests/e2e/compare/compare.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/compare/compare.ts b/tests/e2e/compare/compare.ts index bc1a2c30ccdb..6cd1feec47b5 100644 --- a/tests/e2e/compare/compare.ts +++ b/tests/e2e/compare/compare.ts @@ -82,7 +82,7 @@ function compareResults(compareEntries: Metric | string, baselineEntries: Metric export default (main: Metric | string, delta: Metric | string, outputFile: string, outputFormat = 'all') => { // IMPORTANT NOTE: make sure you are passing the delta/compare results first, then the main/baseline results: - const outputData = compareResults(main, main); + const outputData = compareResults(delta, main); if (outputFormat === 'console' || outputFormat === 'all') { printToConsole(outputData);