From eeb623d4265e053898a5ee1d56c758a0a261bf82 Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Wed, 23 Oct 2024 12:19:41 +0200 Subject: [PATCH] fix: CI --- tests/e2e/testRunner.ts | 2 +- tests/unit/E2EMarkdownTest.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/testRunner.ts b/tests/e2e/testRunner.ts index b4e79220b4ed..d1e16b6999e1 100644 --- a/tests/e2e/testRunner.ts +++ b/tests/e2e/testRunner.ts @@ -123,7 +123,7 @@ const runTests = async (): Promise => { } }; - let skippedTests: string[] = []; + const skippedTests: string[] = []; const clearTestResults = (test: TestConfig) => { skippedTests.push(test.name); diff --git a/tests/unit/E2EMarkdownTest.ts b/tests/unit/E2EMarkdownTest.ts index 74c5659c9487..766ec708f31b 100644 --- a/tests/unit/E2EMarkdownTest.ts +++ b/tests/unit/E2EMarkdownTest.ts @@ -13,6 +13,6 @@ const results = { describe('markdown formatter', () => { it('should format significant changes properly', () => { const data = compareResults(results.main, results.delta, {commentLinking: 'ms'}); - expect(buildMarkdown(data)).toMatchSnapshot(); + expect(buildMarkdown(data, [])).toMatchSnapshot(); }); });