diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edae01ba30..d532ffdfa3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,6 @@ jobs: - src/** - package.json - package-lock.json - install: runs-on: ubuntu-latest @@ -96,7 +95,10 @@ jobs: with: path: '**/node_modules' key: ${{ runner.OS }}-node-modules-${{ hashFiles('**/package-lock.json') }} - - run: npm run test:frontend + - name: Run frontend test + env: + NODE_OPTIONS: --max-old-space-size=4096 + run: npm run test:frontend frontend_lint: needs: [changes, install] diff --git a/frontend/jest.config.js b/frontend/jest.config.js index 6154226829..d9258a6cac 100644 --- a/frontend/jest.config.js +++ b/frontend/jest.config.js @@ -4,4 +4,5 @@ const esModules = ['react-markdown'].join('|') module.exports = { transformIgnorePatterns: [`node_modules/(?!${esModules})/`], + testTimeout: 5000, } diff --git a/frontend/src/features/admin-form/create/constants.ts b/frontend/src/features/admin-form/create/constants.ts index 9f67303fe3..00c4339573 100644 --- a/frontend/src/features/admin-form/create/constants.ts +++ b/frontend/src/features/admin-form/create/constants.ts @@ -138,7 +138,7 @@ export const BASICFIELD_TO_DRAWER_META: { }, [BasicField.Nric]: { - label: 'NRIC', + label: 'NRIC/FIN', icon: BiUser, isSubmitted: true, },