diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index 58dc583..9ec0226 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -16,7 +16,6 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Use Node.js 18.x @@ -44,4 +43,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 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; }