diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index d179a33ac5f..f3e8f45b8dd 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -299,9 +299,15 @@ jobs: - name: Install dependencies run: CI="" yarn install --frozen-lockfile - - name: Add origin - run: git remote set-url origin https://github.com/opencrvs/opencrvs-core.git - + - name: Remove existing SSH origin (if any) + run: git remote remove origin || true + + - name: Add HTTPS origin + run: git remote add origin https://github.com/opencrvs/opencrvs-core.git + + - name: Verify remote URL + run: git remote -v + - name: Fetch full Git history run: git fetch --prune --unshallow diff --git a/packages/client/.eslintignore b/packages/client/.eslintignore index a7554c2fcc8..a02adc0fdc8 100644 --- a/packages/client/.eslintignore +++ b/packages/client/.eslintignore @@ -1,2 +1,3 @@ # dependencies -/node_modules \ No newline at end of file +/node_modules +!.storybook \ No newline at end of file diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js index 98b6363df3d..4ecfbead60b 100644 --- a/packages/client/.eslintrc.js +++ b/packages/client/.eslintrc.js @@ -9,7 +9,13 @@ * Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS. */ module.exports = { - extends: ['../../.eslintrc.js', 'eslint-config-react-app', 'plugin:react/recommended', 'plugin:storybook/recommended', 'plugin:storybook/recommended'], + extends: [ + '../../.eslintrc.js', + 'eslint-config-react-app', + 'plugin:react/recommended', + 'plugin:storybook/recommended', + 'plugin:storybook/recommended' + ], plugins: ['react', 'formatjs'], env: { es6: true, diff --git a/packages/client/src/views/CorrectionForm/CorrectionSummary.test.tsx b/packages/client/src/views/CorrectionForm/CorrectionSummary.test.tsx index 89b45576844..4f2b656fbfb 100644 --- a/packages/client/src/views/CorrectionForm/CorrectionSummary.test.tsx +++ b/packages/client/src/views/CorrectionForm/CorrectionSummary.test.tsx @@ -313,7 +313,7 @@ describe('Correction summary', () => { expect(reason).toBeDefined() }) - it.only('should match corrector with MATERIAL_OMISSION', () => { + it('should match corrector with MATERIAL_OMISSION', () => { ;(birthDeclaration.data.reason as any).type.value = 'MATERIAL_OMISSION' store.dispatch(storeDeclaration(birthDeclaration)) const instance = wrapper