From bf2e366a9edfb1c2aa2580c7990304f3ff6b7458 Mon Sep 17 00:00:00 2001 From: Dima Golovinov Date: Mon, 17 Jul 2023 15:49:22 +0200 Subject: [PATCH 1/4] Testing some fresh code --- JS/jest/FooCls.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/JS/jest/FooCls.ts b/JS/jest/FooCls.ts index 75c3967..7104482 100644 --- a/JS/jest/FooCls.ts +++ b/JS/jest/FooCls.ts @@ -6,6 +6,7 @@ export class FooCls { constructor(singleParam?: number) { if (singleParam !== undefined) { this.singleParam = singleParam; + this.singleParam = 123; } else { this.singleParam = 0; } From aab293069eb765132565ab94d81555eb22e583ed Mon Sep 17 00:00:00 2001 From: Dima Golovinov Date: Mon, 17 Jul 2023 15:50:45 +0200 Subject: [PATCH 2/4] Enable fresh code --- .github/workflows/jest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index 58dc583..c0d10ac 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -44,4 +44,4 @@ jobs: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_JS }} with: args: "-i,JS/jest,--linter,jetbrains/qodana-js:2023.2-eap" - pr-mode: false + pr-mode: true From 113d7828744424c84fc87855eaec978e52f3cc15 Mon Sep 17 00:00:00 2001 From: Dima Golovinov Date: Mon, 17 Jul 2023 15:54:42 +0200 Subject: [PATCH 3/4] Enable fresh code --- .github/workflows/jest.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index c0d10ac..4fa428c 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -16,8 +16,7 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 + fetch-depth: 1 - name: Use Node.js 18.x uses: actions/setup-node@v2 From 5e8569f8b30c6bd81d67d730c538c402c1e8a3c0 Mon Sep 17 00:00:00 2001 From: Dima Golovinov Date: Mon, 17 Jul 2023 15:57:21 +0200 Subject: [PATCH 4/4] Enable fresh code --- .github/workflows/jest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index 4fa428c..9ec0226 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -16,7 +16,7 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 with: - fetch-depth: 1 + fetch-depth: 0 - name: Use Node.js 18.x uses: actions/setup-node@v2